Skip to navigation


Text: PrintSecondLineGap

Name: PrintSecondLineGap [Show more] Type: Subroutine Category: Text Summary: Prints a text token on the second text line at the top of the driving screen, with an empty gap on the line above
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * MainDrivingLoop (Part 4 of 5) calls PrintSecondLineGap * ResetVariables calls PrintSecondLineGap * UpdateLapTimers calls PrintSecondLineGap

Arguments: X The token number (0 to 54) to print on the second text line at the top of the screen
.PrintSecondLineGap JSR PrintSecondLine \ Print token X on the second text line at the top of \ the screen LDX #45 \ Print token 45 (38 spaces) on the first text line of JSR PrintFirstLine \ at the top of the screen, which blanks the top line RTS \ Return from the subroutine