.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)Name: DEATH2 [Show more] Type: Subroutine Category: Start and end Summary: Reset most of the game and restart from the title screenContext: See this subroutine in context in the source code Variations: See code variations for this subroutine in the different versions References: This subroutine is called as follows: * DEATH calls DEATH2 * DK4 calls DEATH2
This routine is called following death, and when the game is quit by pressing ESCAPE when paused.
Configuration variable: CATD = &0D7A
The address of the CATD routine that is put in place by the third loader, as set in elite-loader3.asm
Load and run the main docked code in T.CODE
Reset a number of flight variables and workspaces