Prev: BC7A Up: Map Next: BCAE
BCA3: Print the number of lives
Used by the routines at no_delay and upd_103.
$5BBA as two BCD digits at y=39, column 4 of the buffer. The game counts lives in binary (it starts with 5; lose_life decrements and upd_103 increments), so the display is right only while there are fewer than 10.
print_lives BCA3 LD DE,$5BBA
BCA6 LD B,$01
BCA8 LD HL,$DDD7
BCAB JP print_BCD_number
Prev: BC7A Up: Map Next: BCAE