![]() |
Routines |
| Prev: E8AA | Up: Map | Next: E909 |
|
Advance the graphic index and jump to the N-th address in the following table.
|
||||
| GraphicLayoutRoutine_IncIndexJumpNth | E8E8 | LD A,(IX+$00) | Fetch the current entity's type into A. | |
| E8EB | INC A | Step the graphic-set / attribute index on by one. | ||
| E8EC | CP (IX+$01) | Is A less than this entity's flags byte 1? If so, jump to GraphicLayoutRoutine_F3Continue. | ||
| E8EF | JR C,GraphicLayoutRoutine_F3Continue | |||
| E8F1 | XOR A | Clear A to 00. | ||
|
Write the wrapped F3 index, index the address list, and jump to that layout.
|
||||
| GraphicLayoutRoutine_F3Continue | E8F2 | LD (IX+$00),A | Set the current entity's entity type. | |
| E8F5 | ADD A,A | Double A to form a word index into the table. | ||
| E8F6 | ADD A,$02 | A+=02. | ||
| E8F8 | LD E,A | Copy A into E as a saved coordinate / value. | ||
| E8F9 | LD D,$00 | Clear D (high byte of a pointer/offset). | ||
| E8FB | ADD IX,DE | IX+=DE. | ||
| E8FD | LD E,(IX+$00) | Fetch the next graphic-layout address into DE. | ||
| E900 | LD D,(IX+$01) | |||
| E903 | PUSH DE | Copy DE into IX (using the stack). | ||
| E904 | POP IX | |||
| E906 | JP Process_GraphicLayoutData | Jump to Process_GraphicLayoutData to process graphic layout data. | ||
|
View the equivalent code in;
|
||||
| Prev: E8AA | Up: Map | Next: E909 |