Prev: 40784 Up: Map Next: 40845
40832: Room drawing: Move virtual bitmap cursor to coordinates specified in layout data
Input
HL Pointer to an instruction in room layout data
Output
HL Pointer to next instruction in room layout data
40832 INC HL Advance HL by three bytes...
40833 INC HL ...
40834 INC HL ...
40835 LD C,(HL) Load x- and y-coordinates into BC...
40836 INC HL ...
40837 LD B,(HL) ...
40838 INC HL ...advancing to next position in room layout data
40839 PUSH HL Store HL (current position in room layout data)
40840 CALL 63203 Move virtual cursor (bitmap) to display file address for coordinates x=C, y=B and load address into HL
40843 POP HL Restore HL (current position in room layout data)
40844 RET Return
Prev: 40784 Up: Map Next: 40845