Author Topic: A routine to lock/unlock flash? (Request by Sir, relayed by me)  (Read 9322 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: A routine to lock/unlock flash? (Request by Sir, relayed by me)
« Reply #15 on: May 13, 2010, 07:05:47 pm »
I think he's planning to use some inline ASM in there too. Regardless, he should test on emulators first, in case, and if he's planning to use it for what I think, then first, he really needs to make sure the user won't be able to access the certificate stuff and that the rest of the non-RAM stuff appears to the user only in read-only state (in the program). For what he wants to do (providing this is what me and Quigibo are thinking about), he will really need to be certain his If condition logic operations really works perfectly before loading anything on his calc, so he won't accidentally go out of bounds then cause nasty stuff.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: A routine to lock/unlock flash? (Request by Sir, relayed by me)
« Reply #16 on: May 13, 2010, 08:48:34 pm »
I really hope he's not going to brick calcs.  This is some serious stuff, and when added together actually has me scared for his calc.  Good luck Sircmpwn! :)

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: A routine to lock/unlock flash? (Request by Sir, relayed by me)
« Reply #17 on: May 13, 2010, 08:52:13 pm »
Interesting, i cant wait to see what this is for.  Although i am a bit worried that something bad might happen O.O make sure to test all your code on an emulator!  Or else calc bricking might occur....

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: A routine to lock/unlock flash? (Request by Sir, relayed by me)
« Reply #18 on: May 14, 2010, 12:43:40 am »
Btw our mutual friend would prefer this routine in HEX format rather than z80 so he can use it directly as inline assembly in Axe

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: A routine to lock/unlock flash? (Request by Sir, relayed by me)
« Reply #19 on: May 14, 2010, 12:53:26 am »
It uses a absolute calling, so you can't have a pure hex version unless you know the exact address this code is going to be inserted.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: A routine to lock/unlock flash? (Request by Sir, relayed by me)
« Reply #20 on: May 14, 2010, 01:05:01 am »
Ok I will tell SirCmpwn via e-mail, then.