Skip to navigation

Elite on the BBC Micro

Start and end: DEATH2 (Disc version)

Name: DEATH2 [View in context] Type: Subroutine [Compare versions] Category: Start and end Summary: Reset most of the game and restart from the title screen
This routine is called following death, and when the game is quit by pressing ESCAPE when paused.
.DEATH2 JSR RES2 \ Reset a number of flight variables and workspaces \ and fall through into the entry code for the game \ to restart from the title screen JSR CATD \ Call CATD to reload the disc catalogue BNE INBAY \ Jump to INBAY to load the docked code (this BNE is \ effectively a JMP)