fastbasic
fastbasic copied to clipboard
ADD option to make fastbasic program reset proof
Could you make an option to set in a fastbasic program to make it reset proof ?
Hi!
What it means to "make it reset proof"?
To lock the computer if RESET is pressed:
POKE 9,255
To re-run the program when RESET is pressed, set the CASINI vector to RUNAD and then set to force cassete boot:
IF PEEK(9)<>3
POKE 9,3:DPOKE 2,DPEEK(736)
ENDIF
Note that doing any of the above will disable DOS after RESET, so any disk I/O will not work. Also, this will restart your program but not reset any memory that was changed.
Have Fun!