Prev: 9169 Up: Map Next: 9191
9179: Print a digit from player 2's score.
Prints a single score digit at the correct screen position using ROM RST $10 character output.
Input
D Digit offset (0-5, used to calculate column).
HL Pointer to the digit character.
print_player_2_score_digit 9179 LD A,$10 INK PLAYER_2
917B RST $10
917C LD A,$05
917E RST $10
917F LD A,$16 AT 1,...
9181 RST $10
9182 LD A,$01
9184 RST $10
9185 LD A,D Calculate screen column (P2 score starts at column 21).
9186 ADD A,$15
9188 RST $10
9189 LD A,(HL) Load digit from score buffer and print it.
918A RST $10
918B LD A,$02 Switch to channel 2 (main screen) and return.
918D CALL $1601
9190 RET
Prev: 9169 Up: Map Next: 9191