Prev: 27117 Up: Map Next: 27223
27156: Draw character
Used by the routine at PROCESS_TEXT_STRING. A is the ASCII character to display
DRAW_CHARACTER 27156 LD HL,(23606)
27159 LD E,A
27160 LD D,0
27162 SLA E
27164 RL D
27166 SLA E
27168 RL D
27170 SLA E
27172 RL D
27174 ADD HL,DE
27175 EX DE,HL
27176 LD BC,(28105)
27180 LD A,B
27181 CP 24
27183 RET NC
27184 AND 24
27186 ADD A,64
27188 LD H,A
27189 LD A,B
27190 ADD A,A
27191 ADD A,A
27192 ADD A,A
27193 ADD A,A
27194 ADD A,A
27195 LD B,C
27196 SRL B
27198 SRL B
27200 SRL B
27202 ADD A,B
27203 LD L,A
27204 LD A,7
27206 SUB C
27207 RLA
27208 RLA
27209 AND 28
27211 LD (27222),A
27214 LD B,8
27216 PUSH DE
Draw a character This entry point is used by the routine at L27223.
DRAW_CHARACTER_0 27217 LD A,(DE)
27218 INC DE
27219 LD C,0
27221 JR L27223_0
Prev: 27117 Up: Map Next: 27223