Skip to navigation

Elite on the BBC Micro and NES

Start and end: DEATH2_b0

[NES version, Bank 7]

Name: DEATH2_b0 [Show more] Type: Subroutine Category: Start and end Summary: Switch to ROM bank 0 and call the DEATH2 routine Deep dive: Splitting NES Elite across multiple ROM banks
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * PauseGame calls DEATH2_b0
.DEATH2_b0 LDA #0 ; Page ROM bank 0 into memory at $8000 JSR SetBank JMP DEATH2 ; Call DEATH2, which is now paged into memory, and ; return from the subroutine using a tail call