Skip to navigation

Elite on the BBC Micro and NES

Charts: TT114

[NES version, Bank 0]

Name: TT114 [Show more] Type: Subroutine Category: Charts Summary: Display either the Long-range or Short-range Chart
Context: See this subroutine in context in the source code References: No direct references to this subroutine in this source file

Display either the Long-range or Short-range Chart, depending on the current view setting. Called from TT18 once we know the current view is one of the charts.
Arguments: A The current view, loaded from QQ11
.TT114 CMP #$9C ; If this is the Short-range Chart, skip to TT115 below BEQ TT115 ; to jump to TT23 to display the chart JMP TT22 ; Otherwise the current view is the Long-range Chart, so ; jump to TT22 to display it .TT115 JMP TT23 ; Jump to TT23 to display the Short-range Chart