.ee3 LDA #RED \ Send a #SETCOL RED command to the I/O processor to JSR DOCOL \ switch to colour 2, which is red in the space view 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 \ Fall through into pr6 to print X to 5 digits, as the \ high byte in Y is 0Name: 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 Variations: See code variations for this subroutine in the different versions References: This subroutine is called as follows: * TT102 calls ee3 * TTX66 calls ee3 * wW calls ee3
Print the 8-bit number in X at text location (1, 1). Print the number to 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 DOCOL (category: Text)
Set the text colour by sending a #SETCOL command to the I/O processor
[X]
Subroutine DOXC (category: Text)
Move the text cursor to a specified column by sending a #SETXC command to the I/O processor
[X]
Subroutine DOYC (category: Text)
Move the text cursor to a specified row by sending a #SETYC command to the I/O processor
[X]
Configuration variable RED = %11110000
Four mode 1 pixels of colour 2 (red, magenta or white)