Prev: 7134 Up: Map Next: 7151
7140: Write a list of ASCII characters to the screen.
Used by the routine at 62ca.
Input
A' Colour byte for the entire string.
DE' Address to a list of ASCII character to display.
HL' Display file address for writing the string.
HL Attribute file address for writing the colour byte.
7140 exx
7141 ld a,(de) A=ASCII character value
7142 bit 7,a If EOL byte then extract and display character
7144 jr nz,$7151
7146 call $7115 Display font character
7149 inc de Get next character
714a exx
714b ex af,af'
714c ld (hl),a Write the colour attribute
714d inc l Next column
714e ex af,af' Put colour attribute back in A'
714f jr $7140 Loop back and display next character
Prev: 7134 Up: Map Next: 7151