Routines |
Prev: 40832 | Up: Map | Next: 40873 |
Used by the routine at 39047.
See also analogous routine at 41081 (RLE terrain interaction data painting)
|
||||||||||||||
40845 | PUSH HL | Store HL (current entry in lookup table for RLE attribute data) | ||||||||||||
40846 | LD HL,23408 | Modify instruction at 40983 to load x-coordinate of graphic's left edge into A... | ||||||||||||
40849 | LD (40984),HL | ...i.e. set end x-coordinate for painting right-to-left | ||||||||||||
40852 | LD HL,41025 | Modify instruction at 40987 to jump to 41025... | ||||||||||||
40855 | LD (40988),HL | ...i.e. advance HL up one character row in attribute file | ||||||||||||
40858 | LD A,43 | Modify instruction at 40990 with opcode 43 (DEC HL)... | ||||||||||||
40860 | LD (40990),A | ... | ||||||||||||
40863 | POP HL | Restore HL (current entry in lookup table for RLE attribute data) | ||||||||||||
40864 | CALL 41035 | Store coordinates of area to be coloured and point IX at RLE attribute data | ||||||||||||
40867 | LD BC,(23410) | Load BC with coordinates of graphic's bottom-right | ||||||||||||
40871 | JR 40963 | Jump to attribute painting routine |
Prev: 40832 | Up: Map | Next: 40873 |