![]() |
Routines |
| Prev: 59562 | Up: Map | Next: 59657 |
|
Advance the graphic index and jump to the N-th address in the following table.
|
||||
| GraphicLayoutRoutine_IncIndexJumpNth | 59624 | LD A,(IX+0) | Fetch the current entity's type into A. | |
| 59627 | INC A | Step the graphic-set / attribute index on by one. | ||
| 59628 | CP (IX+1) | Is A less than this entity's flags byte 1? If so, jump to GraphicLayoutRoutine_F3Continue. | ||
| 59631 | JR C,GraphicLayoutRoutine_F3Continue | |||
| 59633 | XOR A | Clear A to 0. | ||
|
Write the wrapped 243 index, index the address list, and jump to that layout.
|
||||
| GraphicLayoutRoutine_F3Continue | 59634 | LD (IX+0),A | Set the current entity's entity type. | |
| 59637 | ADD A,A | Double A to form a word index into the table. | ||
| 59638 | ADD A,2 | A+=2. | ||
| 59640 | LD E,A | Copy A into E as a saved coordinate / value. | ||
| 59641 | LD D,0 | Clear D (high byte of a pointer/offset). | ||
| 59643 | ADD IX,DE | IX+=DE. | ||
| 59645 | LD E,(IX+0) | Fetch the next graphic-layout address into DE. | ||
| 59648 | LD D,(IX+1) | |||
| 59651 | PUSH DE | Copy DE into IX (using the stack). | ||
| 59652 | POP IX | |||
| 59654 | JP Process_GraphicLayoutData | Jump to Process_GraphicLayoutData to process graphic layout data. | ||
|
View the equivalent code in;
|
||||
| Prev: 59562 | Up: Map | Next: 59657 |