Prev: DA88 Up: Map Next: DB02
DAE9: Print Double-Height Text Character
Used by the routines at PrintMenuItems and Handler_Messaging.
Input
HL Attribute file address at which to print character
E Character to print
PrintDoubleHeightCharacter DAE9 LD BC,$0020 Load BC with 0020 (width of a row in attribute file).
DAEC PUSH HL Stash HL (attribute file address at which to print character) on the stack.
DAED EX DE,HL
DAEE ADD HL,HL
DAEF ADD HL,HL
DAF0 ADD HL,HL
DAF1 LD DE,$3C00 Add eight times character index to 3C00 (CHARSET-0100), to point to graphic of character in ROM...
DAF4 ADD HL,DE
DAF5 EX DE,HL
DAF6 POP HL
DAF7 CALL PrintHalfDoubleHeightTextCharacter Call PrintHalfDoubleHeightTextCharacter.
DAFA ADD HL,BC
DAFB CALL PrintHalfDoubleHeightTextCharacter Call PrintHalfDoubleHeightTextCharacter.
DAFE AND A
DAFF SBC HL,BC
DB01 RET Return.
Prev: DA88 Up: Map Next: DB02