Prev: 44097 Up: Map Next: 44236
44198: Copy Display Data To Display Buffer
Used by the routine at 43858.
Copies display data from the character data structure to the display buffer at 43688. If bit 6 of E is set, copies from offset 4; if bit 7 is set, copies from offset 14. Always sets bit 0 of the return value.
Input
E Flags (bits 6 and 7 indicate which display data set to copy)
Output
A Bit 0 is set if data was copied
CopyDisplayDataToDisplayBuffer 44198 BIT 6,E
44200 JR Z,CopyDisplayDataToDisplayBuffer_0
44202 RES 6,E
44204 PUSH DE
44205 LD DE,4
44208 JR CopyDisplayDataToDisplayBuffer_1
CopyDisplayDataToDisplayBuffer_0 44210 BIT 7,E
44212 RET Z
44213 RES 7,E
44215 PUSH DE
44216 LD DE,14
CopyDisplayDataToDisplayBuffer_1 44219 PUSH IY
44221 POP HL
44222 ADD HL,DE
44223 LD DE,43688
44226 EX DE,HL
44227 LD BC,10
44230 LDIR
44232 POP DE
44233 OR 1
44235 RET
Prev: 44097 Up: Map Next: 44236