Skip to navigation

Elite on the BBC Micro

Loader: SCRAM [Elite-A, Parasite]

Name: SCRAM [Show more] Type: Subroutine Category: Loader Summary: Set the save_lock variable and break handler
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * DOENTRY 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
.SCRAM 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