Skip to navigation

Elite on the BBC Micro and NES

Combat demo: PlayDemo_b0

[NES version, Bank 7]

Name: PlayDemo_b0 [Show more] Type: Subroutine Category: Combat demo Summary: Call the PlayDemo routine in ROM bank 0 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 PlayDemo_b0
.PlayDemo_b0 LDA #0 ; Page ROM bank 0 into memory at $8000 JSR SetBank JMP PlayDemo ; Call PlayDemo, which is already paged into memory, and ; return from the subroutine using a tail call