.MA23 LDA QQ11 ; If this is not the space view (i.e. QQ11 is non-zero) BNE MA232 ; then jump to MA232 to return from the main flight loop ; (as MA232 is an RTS) JMP STARS_b1 ; This is a space view, so jump to the STARS routine to ; process the stardust, and return from the main flight ; loop using a tail callName: Main flight loop (Part 16 of 16) [Show more] Type: Subroutine Category: Main loop Summary: Call stardust routine Deep dive: Program flow of the main game loopContext: See this subroutine in context in the source code References: No direct references to this subroutine in this source file
The main flight loop covers most of the flight-specific aspects of Elite. This section covers the following: * Jump to the stardust routine if we are in a space view * Return from the main flight loop
[X]
Entry point MA232 in subroutine CheckAltitude (category: Flight)
Contains an RTS
[X]
Subroutine STARS_b1 (category: Stardust)
Call the STARS routine in ROM bank 1