.BR1 JSR ZEKTRAN ; Call ZEKTRAN to clear the key logger LDA #3 ; Move the text cursor to column 3 JSR DOXC IF _GMA_RELEASE JSR startat ; Start playing the title music ELIF _SOURCE_DISK ;JSR FX200 ; This instruction is commented out in the original ; source ENDIF LDX #CYL ; Call TITLE to show a rotating Cobra Mk III (#CYL) and LDA #6 ; token 6 ("LOAD NEW {single cap}COMMANDER {all caps} LDY #210 ; (Y/N)?{sentence case}{cr}{cr}"), with the ship at a JSR TITLE ; distance of 210, returning with the internal number ; of the key pressed in A CMP #YINT ; Did we press "Y"? If not, jump to QU5, otherwise BNE QU5 ; continue on to load a new commander IF _GMA_RELEASE JSR stopat ; Stop playing the title music ENDIF JSR DFAULT ; Call DFAULT to reset the current commander data block ; to the last saved commander JSR SVE ; Call SVE to load a new commander into the last saved ; commander data block IF _GMA_RELEASE JSR startat ; Start playing the title music ENDIF .QU5 JSR DFAULT ; Call DFAULT to reset the current commander data block ; to the last saved commanderName: BR1 (Part 1 of 2) [Show more] Type: Subroutine Category: Start and end Summary: Show the "Load New Commander (Y/N)?" screen and start the gameContext: See this subroutine in context in the source code References: This subroutine is called as follows: * BRBR calls BR1 * TT102 calls via QU5
Other entry points: QU5 Restart the game using the last saved commander without asking whether to load a new commander file
[X]
Configuration variable CYL = 11
Ship type for a Cobra Mk III
[X]
Subroutine DFAULT (category: Start and end)
Reset the current commander data block to the last saved commander
[X]
Subroutine DOXC (category: Text)
Move the text cursor to a specific column
[X]
Entry point QU5 in subroutine BR1 (Part 1 of 2) (category: Start and end)
Restart the game using the last saved commander without asking whether to load a new commander file
[X]
Subroutine SVE (category: Save and load)
Display the disk access menu and process saving of commander files
[X]
Subroutine TITLE (category: Start and end)
Display a title screen with a rotating ship and prompt
[X]
Configuration variable YINT = $27
Internal key number for key "Y" (Y/N)
[X]
Subroutine ZEKTRAN (category: Keyboard)
Clear the key logger
[X]
Subroutine startat (category: Sound)
Start playing the title music, if configured