![]() |
Routines |
| Prev: 6E7F | Up: Map | Next: 6EEE |
|
Used by the routine at ShapeIfPresent.
Reads the shape's coordinates and paints it into the attribute buffer.
|
||||
|
Find the shape in the picture font.
|
||||
| PlotShape | 6EC1 | CALL FindShape | Call FindShape. | |
| 6EC4 | INC IX | Advance the record pointer. | ||
| 6EC6 | LD A,(IX+$00) | Read the X coordinate into Picture_X and C. | ||
| 6EC9 | LD ($5BC1),A | |||
| 6ECC | LD C,A | |||
| 6ECD | INC IX | Advance the record pointer. | ||
| 6ECF | LD A,(IX+$00) | Read the Y coordinate into Picture_Y and Drawing_Y. | ||
| 6ED2 | LD ($5BC2),A | |||
| 6ED5 | LD ($5BC3),A | |||
| 6ED8 | INC IX | Advance the record pointer. | ||
| 6EDA | PUSH IX | Stash the record pointer on the stack. | ||
|
Address the destination byte.
|
||||
| 6EDC | CALL PictureAddress | Call PictureAddress. | ||
| 6EDF | LD DE,$6C7A | Write AttributeBuffer to Destination_Base. | ||
| 6EE2 | LD ($5BC9),DE | |||
| 6EE6 | CALL PaintShape | Call PaintShape. | ||
| 6EE9 | POP IX | Restore the record pointer from the stack. | ||
| 6EEB | JP PictureRecord | Jump to PictureRecord. | ||
| Prev: 6E7F | Up: Map | Next: 6EEE |