![]() |
Routines |
| Prev: 6E53 | Up: Map | Next: 6EC1 |
|
Used by the routine at PictureRecord.
Opcodes F8 to EE jump to their own drawers. A smaller byte is a shape plotted by the routine below.
|
||||
| DispatchShape | 6E7F | LD A,(IX+$00) | Fetch the opcode. | |
|
Opcode F8 draws the following shape only when that object is here.
|
||||
| 6E82 | CP $F8 | Jump to ShapeIfPresent if it is F8. | ||
| 6E84 | JP Z,ShapeIfPresent | |||
|
Opcode F7 plots the following shape after writing 0C to ShapeSuppressed.
|
||||
| 6E87 | CP $F7 | Jump to OpcodeF7 if it is F7. | ||
| 6E89 | JP Z,OpcodeF7 | |||
|
Opcode F6 plots the following shape after writing 08 to ShapeSuppressed.
|
||||
| 6E8C | CP $F6 | Jump to OpcodeF6 if it is F6. | ||
| 6E8E | JP Z,OpcodeF6 | |||
|
Opcode F5 plots the following shape after writing 04 to ShapeSuppressed.
|
||||
| 6E91 | CP $F5 | Jump to OpcodeF5 if it is F5. | ||
| 6E93 | JP Z,OpcodeF5 | |||
|
Opcode F4 continues the record only when that object is here.
|
||||
| 6E96 | CP $F4 | Jump to ShapeForObject if it is F4. | ||
| 6E98 | JP Z,ShapeForObject | |||
|
Opcode F3 resets the origin and copies the default rectangle.
|
||||
| 6E9B | CP $F3 | Jump to ResetOrigin if it is F3. | ||
| 6E9D | JP Z,ResetOrigin | |||
|
Opcode F2 patches the shift and draws.
|
||||
| 6EA0 | CP $F2 | Jump to DrawPatched if it is F2. | ||
| 6EA2 | JP Z,DrawPatched | |||
|
Opcode F1 sets the origin and draws.
|
||||
| 6EA5 | CP $F1 | Jump to DrawFromOrigin if it is F1. | ||
| 6EA7 | JP Z,DrawFromOrigin | |||
|
Opcode F0 draws a horizontal run of pixels.
|
||||
| 6EAA | CP $F0 | Jump to HorizontalRun if it is F0. | ||
| 6EAC | JP Z,HorizontalRun | |||
|
Opcode EF draws a run shifted across the pixel columns.
|
||||
| 6EAF | CP $EF | Jump to VerticalRun if it is EF. | ||
| 6EB1 | JP Z,VerticalRun | |||
|
Opcode EE patches the vertical shift.
|
||||
| 6EB4 | CP $EE | Jump to DrawVertical if it is EE. | ||
| 6EB6 | JP Z,DrawVertical | |||
|
A smaller byte is a shape, plotted below.
|
||||
| 6EB9 | CP $EC | This compare with EC is unused. | ||
| 6EBB | LD B,A | Copy the opcode into B. | ||
| 6EBC | XOR A | Clear A so an ordinary shape stores 00. | ||
| DispatchShape_Flag | 6EBD | LD ($6EEE),A | Write A to ShapeSuppressed. | |
| 6EC0 | LD A,B | Restore the opcode. | ||
|
Continue on to PlotShape.
|
||||
| Prev: 6E53 | Up: Map | Next: 6EC1 |