.RSHIPS JSR LOMOD \ Call LOMOD to populate the ship blueprints table \ with a random selection of ships JSR RESET \ Call RESET to reset most variables LDA #&FF \ Set QQ1 to &FF to indicate we are docked, so when STA QQ12 \ we reach TT110 after calling FRCE below, it shows the \ launch tunnel STA QQ11 \ Set the view type to a non-zero value, so when we \ reach LOOK1 after calling FRCE below, it sets up a \ new space view STA dockedp \ Set dockedp to &FF to indicate that we are no longer \ docked LDA #f0 \ Jump into the main game loop at FRCE_FLIGHT, setting JMP FRCE_FLIGHT \ the key "pressed" to red key f0 (so we launch from the \ station)Name: RSHIPS [Show more] Type: Subroutine Category: Loader Summary: Launch from the station, load a new set of ship blueprints and jump into the main game loopContext: See this subroutine in context in the source code References: This subroutine is called as follows: * TT102 calls RSHIPS
[X]
Entry point FRCE_FLIGHT in subroutine Main game loop for flight (Part 6 of 6) (category: Main loop)
Press the key in A and restart the main loop
[X]
Subroutine LOMOD (category: Universe)
Populate the ship blueprints table at XX21 with a random selection of ships and set the compass to point to the planet
[X]
Subroutine RESET (category: Start and end)
Reset most variables
[X]
Configuration variable f0 = &20
Internal key number for red key f0 (Launch, Front)