Skip to navigation

Elite on the BBC Micro and NES

Start and end: StartGame_b0

[NES version, Bank 7]

Name: StartGame_b0 [Show more] Type: Subroutine Category: Start and end Summary: Switch to ROM bank 0 and call the StartGame 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: * ShowScrollText calls StartGame_b0
.StartGame_b0 LDA #0 ; Page ROM bank 0 into memory at $8000 JSR SetBank JMP StartGame ; Call StartGame, which is now paged into memory, and ; return from the subroutine using a tail call