Skip to content

ADD option to make fastbasic program reset proof #116

Open

Description

@rene-72

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

Activity

  1. dmsc commented on Oct 12, 2025

    @dmsc
    Owner

    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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions