Skip to navigation

Elite on the BBC Micro and NES

Utility routines: SetBank0

[NES version, Bank 7]

Name: SetBank0 [Show more] Type: Subroutine Category: Utility routines Summary: Page ROM bank 0 into memory at $8000 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: * SetupMMC1 calls SetBank0
.SetBank0 LDA #0 ; Page ROM bank 0 into memory at $8000 and return from JMP SetBank ; the subroutine using a tail call