This code appears in the following versions (click to see it in the source code):
Code variations between these versions are shown below.
.STARSName: STARS Type: Subroutine Category: Stardust Summary: The main routine for processing the stardust
Called at the very end of the main flight loop.
This variation is blank in the Disc (flight), 6502 Second Processor and Electron versions.
Tap on a block to expand it, and tap it again to revert.
LDX VIEW \ Load the current view into X: \ \ 0 = front \ 1 = rear \ 2 = left \ 3 = right BEQ STARS1 \ If this 0, jump to STARS1 to process the stardust for \ the front view DEX \ If this is view 2 or 3, jump to STARS2 (via ST11) to BNE ST11 \ process the stardust for the left or right views JMP STARS6 \ Otherwise this is the rear view, so jump to STARS6 to \ process the stardust for the rear view .ST11 JMP STARS2 \ Jump to STARS2 for the left or right views, as it's \ too far for the branch instruction above