Author Topic: Flash Locking  (Read 4016 times)

0 Members and 1 Guest are viewing this topic.

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
Flash Locking
« on: June 17, 2011, 09:26:00 pm »
Quick question.  I use flash unlocking a lot and I was wondering if flash actually gets locked again by the OS once an application quits.  If not, is there a simple way to lock it again?  I don't want the potentially unlikely yet dangerous situation of someone's buggy code accidentally writing to flash and corrupting something.  This flash stuff isn't well documented so I'm hoping someone knows the answer.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Flash Locking
« Reply #1 on: June 17, 2011, 09:27:10 pm »
Use bcall(_FlashWriteDisable).
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman