Prev: 6833 Up: Map Next: 74DC
74AA: Print characters to the screen
Used by the routines at 7552 and PINK_HEADER.
PRINT_BIKE_GRAPHIC 74AA LD H,$78 H=$78
74AC JR PRINT_BIKE_GRAPHIC_0 Jump to PRINT_BIKE_GRAPHIC_0
PRINT_LETTER 74AE EXX Exchange BC, DE, and HL with shadow registers with BC', DE', and HL'
74AF ADD A,A Double the value in A
74B0 LD L,A L=A
74B1 LD H,$0F H=$0F
74B3 ADD HL,HL Shift HL left two bits
74B4 ADD HL,HL
PRINT_BIKE_GRAPHIC_0 74B5 LD B,$08 B=$08
74B7 LD C,D C=D
PRINT_LETTER_LOOP 74B8 LD A,(HL) A=(HL)
74B9 LD (DE),A Writes A to the memory location held by DE
74BA INC L Increases L by one
74BB INC D Increases D by one
74BC DJNZ PRINT_LETTER_LOOP Decrease B by one, jump to PRINT_LETTER_LOOP if not zero
74BE LD D,C D=C
74BF INC E Increases E by one
74C0 EXX Exchange BC, DE, and HL with shadow registers with BC', DE', and HL'
74C1 RET Return
74C2 NOP
This entry point is used by the routines at 74DC, 7552 and ED52.
PRINT_BIKE_GRAPHIC_1 74C3 LD B,$20 B=$20
74C5 LD DE,$5AE0 DE=$5AE0
PRINT_BIKE_GRAPHIC_2 74C8 LD (DE),A Writes A to the memory location held by DE
74C9 INC E Increases E by one
74CA DJNZ PRINT_BIKE_GRAPHIC_2 Decrease B by one, jump to PRINT_BIKE_GRAPHIC_2 if not zero
74CC LD B,$20 B=$20
74CE EXX Exchange BC, DE, and HL with shadow registers with BC', DE', and HL'
74CF LD DE,$50E0 DE=$50E0
74D2 EXX Exchange BC, DE, and HL with shadow registers with BC', DE', and HL'
PRINT_STRING 74D3 LD A,(HL) Stores the first letter of the string in A
74D4 CALL PRINT_LETTER Calls the subroutine at PRINT_LETTER
74D7 INC HL Increases HL by one
74D8 DJNZ PRINT_STRING Decrease B by one, loop back to PRINT_STRING and keep going until B is zero
74DA RET Return
74DB NOP
Prev: 6833 Up: Map Next: 74DC