Prev: BC61 Up: Map Next: BC7A
BC66: Print the day count on the panel
Used by the routines at no_delay and inc_days.
Two BCD digits from $5BB9 into the buffer at the bottom of the panel (y=7, column 15), then makes their two attribute cells bright white directly on the screen. inc_days copies the digits to the display.
print_days BC66 LD HL,$D9E2
BC69 LD DE,$5BB9
BC6C LD B,$01
BC6E CALL print_BCD_number
BC71 LD HL,$5AEF
BC74 LD (HL),$47
BC76 INC L
BC77 LD (HL),$47
BC79 RET
Prev: BC61 Up: Map Next: BC7A