![]() |
Routines |
| Prev: 6E43 | Up: Map | Next: 6E7F |
|
Used by the routines at PlotShape, ChangePictureColour, BrightenAttributes, ShapeIfPresent, DrawPatched, DrawFixedShift, DrawFromOrigin, ResetOrigin, ShapeForObject, HorizontalRun, VerticalRun, DrawVertical, FixedVertical and PaintAttributeRun.
Reads the next record byte. FF ends it. FE reflects the left half of the picture onto the right, FD changes one colour to another in the ink and paper, FC paints a run of attributes, FB brightens the picture, FA mirrors it left to right, and F9 draws another room's record. Any other byte goes to DispatchShape.
|
||||
| PictureRecord | 6E53 | LD A,(IX+$00) | ||
| 6E56 | INC A | |||
| 6E57 | RET Z | |||
| 6E58 | INC A | |||
| 6E59 | JP Z,DrawFixedShift | |||
| 6E5C | INC A | |||
| 6E5D | JP Z,ChangePictureColour | |||
| 6E60 | INC A | |||
| 6E61 | JP Z,PaintAttributeRun | |||
| 6E64 | INC A | |||
| 6E65 | JP Z,BrightenAttributes | |||
| 6E68 | INC A | |||
| 6E69 | JP Z,FixedVertical | |||
| 6E6C | INC A | |||
| 6E6D | JR NZ,DispatchShape | |||
| 6E6F | INC IX | |||
| 6E71 | LD A,(IX+$00) | |||
| 6E74 | PUSH IX | |||
| 6E76 | CALL FindPictureRecord | |||
| 6E79 | POP IX | |||
| 6E7B | INC IX | |||
| 6E7D | JR PictureRecord | |||
| Prev: 6E43 | Up: Map | Next: 6E7F |