![]() |
Routines |
| Prev: 29570 | Up: Map | Next: 29614 |
|
Used by the routine at DispatchShape.
Opcode 243 sets *SourceOrigin, *DestinationOrigin and *SourceOrigin_Row to 0, *DestinationOrigin_Height to the bottom illustration row 11, and the copy width to 32. It then copies that full-width rectangle through SetOrigin_Copy. The destination row counts down, so the copy is upside down.
|
||||||||
| ResetOrigin | 29581 | XOR A | Write 0 to *SourceOrigin, *DestinationOrigin and *SourceOrigin_Row. | |||||
| 29582 | LD (29495),A | |||||||
| 29585 | LD (29497),A | |||||||
| 29588 | LD (29496),A | |||||||
| 29591 | LD A,11 | Write 11 to *DestinationOrigin_Height, the bottom row of the illustration. | ||||||
| 29593 | LD (29498),A | |||||||
| 29596 | LD A,32 | Self-modify the copy widths at 29465 and 29414 to 32. | ||||||
| 29598 | LD (29465),A | |||||||
| 29601 | LD (29414),A | |||||||
|
Copy the default rectangle.
|
||||||||
| 29604 | LD A,5 | Call SetOrigin_Copy with the loop stop set to 5. | ||||||
| 29606 | CALL SetOrigin_Copy | |||||||
| 29609 | INC IX | Step past this opcode. | ||||||
| 29611 | JP PictureRecord | Jump to PictureRecord. | ||||||
| Prev: 29570 | Up: Map | Next: 29614 |