Prev: CDB2 Up: Map Next: CDD5
CDBE: Print Status Digits
Used by the routine at Prepare_Frame.
Writes ASCII "0" to seven digits at Status_Digits, then prints 0E characters from Status_Text.
Print_Status_Digits CDBE LD HL,$EFA8 Point HL at Status_Digits.
CDC1 LD A,$30 Set the digit to 30.
CDC3 LD B,$07 Set the digit counter to 07 in B.
Print_Status_Digits_Write CDC5 LD (HL),A Write the digit, and loop until the digit counter is zero.
CDC6 INC L
CDC7 DJNZ Print_Status_Digits_Write
CDC9 LD HL,$EFA1 Point HL at Status_Text.
CDCC LD DE,$5029 Set the screen address to 5029 (screen buffer) in DE.
CDCF LD C,$0E Set the character counter to 0E in C.
CDD1 CALL Print_Double_Height Call Print_Double_Height.
CDD4 RET Return.
Prev: CDB2 Up: Map Next: CDD5