![]() |
Routines |
| Prev: 59657 | Up: Map | Next: 59732 |
|
Jump to one of the following graphic-layout addresses chosen uniformly at random.
|
||||
| GraphicLayoutRoutine_JumpRandomAddress | 59715 | LD A,(IX+0) | Fetch the random-maximum parameter from the layout byte at IX. | |
| 59718 | INC IX | Advance IX past the graphic-layout operand byte. | ||
| 59720 | CALL PseudoRandom | Call PseudoRandom to pick a pseudo-random value. | ||
|
This entry point is used by the routine at GraphicLayoutRoutine_JumpUsingCarriedWidth.
Index the random-address list by A×2 and jump via the 248 handler at GraphicLayoutRoutine_JumpGraphicAddress.
|
||||
| GraphicLayout_ContinueAfterTile | 59723 | ADD A,A | Double A to form a word index into the table. | |
| 59724 | LD C,A | Keep the index in C. | ||
| 59725 | LD B,0 | Load B with 0. | ||
| 59727 | ADD IX,BC | IX+=BC. | ||
| 59729 | JP GraphicLayoutRoutine_JumpGraphicAddress | Jump to GraphicLayoutRoutine_JumpGraphicAddress to graphic Layout Routine: (248) Jump To Graphic Layout Address. | ||
|
View the equivalent code in;
|
||||
| Prev: 59657 | Up: Map | Next: 59732 |