fastbasic icon indicating copy to clipboard operation
fastbasic copied to clipboard

ADD option to make fastbasic program reset proof

Open rene-72 opened this issue 5 months ago • 1 comments

Could you make an option to set in a fastbasic program to make it reset proof ?

rene-72 avatar Sep 05 '25 09:09 rene-72

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!

dmsc avatar Oct 12 '25 16:10 dmsc