Prev: DF0C Up: Map Next: DF47
DF0F: print 8x8 char graphic for char in A at coordinates C,B
Used by the routines at DH_P, ZRDR_P and P_CHAR.
print_8x8_graphic DF0F PUSH BC
DF10 PUSH AF
DF11 LD A,B
DF12 AND $18
DF14 OR $40
DF16 LD H,A
DF17 LD A,B
DF18 AND $07
DF1A RRCA
DF1B RRCA
DF1C RRCA
DF1D ADD A,C
DF1E LD L,A
DF1F POP AF
DF20 PUSH HL
DF21 LD BC,($5C36)
DF25 LD L,A
DF26 LD H,$00
DF28 ADD HL,HL
DF29 ADD HL,HL
DF2A ADD HL,HL
DF2B ADD HL,BC
DF2C POP DE
DF2D PUSH DE
DF2E LD B,$08
print_8x8_graphic_0 DF30 LD A,(HL)
DF31 LD (DE),A
DF32 INC D
DF33 INC HL
DF34 DJNZ print_8x8_graphic_0
DF36 POP HL
DF37 LD A,H
DF38 RRCA
DF39 RRCA
DF3A RRCA
DF3B AND $03
DF3D OR $58
DF3F LD H,A
DF40 LD DE,($5C8F)
DF44 LD (HL),E
DF45 POP BC
DF46 RET
Prev: DF0C Up: Map Next: DF47