Skip to navigation

BBC Micro Elite

Text: ee3

Name: ee3 [View in context] Type: Subroutine Category: Text Summary: Print the hyperspace countdown in the top-left of the screen
Print the 8-bit number in X at text location (0, 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
.ee3 LDY #1 \ Set YC = 1 (first row) STY YC DEY \ Set XC = 0 (first character) STY XC \ Fall through into pr6 to print X to 5 digits