.ee3 ;LDA #RED ; These instructions are commented out in the original ;JSR DOCOL ; source LDA #1 ; Move the text cursor to column 1 on row 1 JSR DOXC JSR DOYC LDY #0 ; Set Y = 0 for the high byte in pr6 CLC ; Call TT11 to print X to 3 digits with no decimal point LDA #3 ; and return from the subroutine using a tail call JMP TT11Name: ee3 [Show more] Type: Subroutine Category: Flight Summary: Print the hyperspace countdown in the top-left of the screenContext: See this subroutine in context in the source code References: This subroutine is called as follows: * TT102 calls ee3 * TTX66 calls ee3 * wW calls ee3
5 digits, left-padding with spaces for numbers with fewer than 3 digits (so numbers < 10000 are right-aligned), with no decimal point.
Arguments: X The number to print
[X]
Subroutine DOXC (category: Text)
Move the text cursor to a specific column
[X]
Subroutine DOYC (category: Text)
Move the text cursor to a specific row
[X]
Subroutine TT11 (category: Text)
Print a 16-bit number, left-padded to n digits, and optional point