Skip to navigation

Elite on the BBC Micro

Loader: boot_in [Elite-A, Parasite]

Name: boot_in [Show more] Type: Subroutine Category: Loader Summary: The entry point for the game
Context: See this subroutine in context in the source code References: No direct references to this subroutine in this source file

This routine is at the execution address for the parasite code (&2E93), so it is called when the parasite code in file 2.T is loaded and run.
.boot_in LDA #0 \ Set save_lock to 0 to indicate there are no unsaved STA save_lock \ changes in the commander file STA SSPR \ Set the "space station present" flag to 0, as we are \ no longer in the space station's safe zone STA ECMA \ Set ECMA to 0 to indicate that no E.C.M. is currently \ running STA dockedp \ Set dockedp to 0 to indicate that we are docked JMP BEGIN \ Jump to BEGIN to initialise the configuration \ variables and start the game