![]() |
Routines |
| Prev: 28227 | Up: Map | Next: 28287 |
|
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. 255 ends it. 254 reflects the left half of the picture onto the right, 253 changes one colour to another in the ink and paper, 252 paints a run of attributes, 251 brightens the picture, 250 mirrors it left to right, and 249 draws another room's record. Any other byte goes to DispatchShape.
|
||||
| PictureRecord | 28243 | LD A,(IX+0) | ||
| 28246 | INC A | |||
| 28247 | RET Z | |||
| 28248 | INC A | |||
| 28249 | JP Z,DrawFixedShift | |||
| 28252 | INC A | |||
| 28253 | JP Z,ChangePictureColour | |||
| 28256 | INC A | |||
| 28257 | JP Z,PaintAttributeRun | |||
| 28260 | INC A | |||
| 28261 | JP Z,BrightenAttributes | |||
| 28264 | INC A | |||
| 28265 | JP Z,FixedVertical | |||
| 28268 | INC A | |||
| 28269 | JR NZ,DispatchShape | |||
| 28271 | INC IX | |||
| 28273 | LD A,(IX+0) | |||
| 28276 | PUSH IX | |||
| 28278 | CALL FindPictureRecord | |||
| 28281 | POP IX | |||
| 28283 | INC IX | |||
| 28285 | JR PictureRecord | |||
| Prev: 28227 | Up: Map | Next: 28287 |