Skip to navigation

BBC Micro Elite

Start and end: DEATH2 (6502SP version)

Name: DEATH2 [View in context] Type: Subroutine Category: Start and end Summary: Reset most of the game and restart from the title screen
.DEATH2 LDX #&FF \ Set the stack pointer to &01FF, which is the standard TXS \ location for the 6502 stack, so this instruction \ effectively resets the stack 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