Prev: E1A4 Up: Map Next: E20A
E1E5: Display a string using double height characters.
Input
Output
String_DrawDouble E1E5 LD A,(HL) Get next character in string.
E1E6 INC HL
E1E7 BIT 7,A Bytes below $80 just get drawn.
E1E9 JR Z,String_DrawDouble_1
E1EB CP $FF End of string.
E1ED RET Z
E1EE CP $FE Character code for change colour.
E1F0 JR NZ,String_DrawDouble_0
E1F2 LD C,(HL) Get colour from next byte in string.
E1F3 INC HL
E1F4 JR String_DrawDouble
String_DrawDouble_0 E1F6 CP $FC Character code for offset position.
E1F8 JR NZ,String_DrawDouble_1
E1FA LD A,E Offset X position by 2nd byte.
E1FB ADD A,(HL)
E1FC LD E,A
E1FD INC HL
E1FE LD A,D Offset Y position by 3rd byte.
E1FF ADD A,(HL)
E200 LD D,A
E201 INC HL
E202 JR String_DrawDouble
String_DrawDouble_1 E204 CALL Tile_BlitDoubleHeight Draw character and move onto next column.
E207 INC E
E208 JR String_DrawDouble
Prev: E1A4 Up: Map Next: E20A