![]() |
Routines |
| Prev: 28287 | Up: Map | Next: 28398 |
|
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 | 28353 | CALL FindShape | Call FindShape. | |
| 28356 | INC IX | Advance the record pointer. | ||
| 28358 | LD A,(IX+0) | Read the X coordinate into Picture_X and C. | ||
| 28361 | LD (23489),A | |||
| 28364 | LD C,A | |||
| 28365 | INC IX | Advance the record pointer. | ||
| 28367 | LD A,(IX+0) | Read the Y coordinate into Picture_Y and Drawing_Y. | ||
| 28370 | LD (23490),A | |||
| 28373 | LD (23491),A | |||
| 28376 | INC IX | Advance the record pointer. | ||
| 28378 | PUSH IX | Stash the record pointer on the stack. | ||
|
Address the destination byte.
|
||||
| 28380 | CALL PictureAddress | Call PictureAddress. | ||
| 28383 | LD DE,27770 | Write AttributeBuffer to Destination_Base. | ||
| 28386 | LD (23497),DE | |||
| 28390 | CALL PaintShape | Call PaintShape. | ||
| 28393 | POP IX | Restore the record pointer from the stack. | ||
| 28395 | JP PictureRecord | Jump to PictureRecord. | ||
| Prev: 28287 | Up: Map | Next: 28398 |