Skip to navigation

Elite on the BBC Micro and NES

Text: PrintSpaceViewName

[NES version, Bank 0]

Name: PrintSpaceViewName [Show more] Type: Subroutine Category: Text Summary: Print the name of the current space view
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * TT66 calls PrintSpaceViewName
.PrintSpaceViewName LDA VIEW ; Load the current view into A: ; ; 0 = front ; 1 = rear ; 2 = left ; 3 = right ORA #$60 ; OR with $60 so we get a value of $60 to $63 (96 to 99) JMP TT27_b2 ; Print recursive token 96 to 99, which will be in the ; range "FRONT" to "RIGHT", returning from the ; subroutine using a tail call