Prev: DF4C Up: Map Next: DF72
DF4E: P_CHAR
P_CHAR DF4E LD HL,(C_DATA) set CHARS variable to address in C_DATA minus 256
DF51 DEC H
DF52 LD ($5C36),HL
DF55 LD BC,(LC_POS) read LC_POS into BC
DF59 LD A,$20 call print_8x8_graphic to print character $20 (top left block of sprite)
DF5B CALL print_8x8_graphic
DF5E INC C move one character position right
DF5F LD A,$21 call print_8x8_graphic to print character $21 (top right block of sprite)
DF61 CALL print_8x8_graphic
DF64 DEC C move one character position left and one character row down
DF65 INC B
DF66 LD A,$22 call print_8x8_graphic to print character $22 (bottom left block of sprite)
DF68 CALL print_8x8_graphic
DF6B INC C move one character position right
DF6C LD A,$23 call print_8x8_graphic to print character $23 (bottom right block of sprite) then return
DF6E CALL print_8x8_graphic
DF71 RET
Prev: DF4C Up: Map Next: DF72