.SCRAM \ --- Mod: Code removed for Elite-A: ------------------> \JSR DEEOR \ Decrypt the main docked code between &1300 and &5FFF \ \JSR RES2 \ Reset a number of flight variables and workspaces \ \JMP TT170 \ Jump to TT170 to start the game \ --- And replaced by: --------------------------------> STA save_lock \ Set the save_lock variable to the value in A (which \ will be either 0 or &FF) \ Fall through into BRKBK to set the standard BRKV \ handler for the game and return from the subroutine \ --- End of replacement ------------------------------>Name: SCRAM [Show more] Type: Subroutine Category: Loader Summary: Set the save_lock variable and break handlerContext: See this subroutine in context in the source code References: This subroutine is called as follows: * DOBEGIN calls SCRAM * DOENTRY calls SCRAM * INBAY calls SCRAM
Arguments: A Set the save_lock flag as follows: * 0 = this is a new game, so there are no unsaved changes in the commander file * &FF = we just docked, so there are unsaved changes in the commander file
[X]
Configuration variable save_lock = &0233
This flag indicates whether we should be asking for confirmation before saving or loading a commander file