![]() |
Routines |
| Prev: AC40 | Up: Map | Next: AD07 |
|
Used by the routine at PrepareEntityItem.
Adds an entity to the draw list without preparing a table record for it. Used for entity types 0C and 10.
|
||||||||
| AppendEntityItem | ACF4 | EXX | Keep the other registers aside. | |||||
| ACF5 | LD HL,($B06C) | The next free entry of the draw list. | ||||||
| ACF8 | LD (HL),$01 | Mark the entry as an entity and move on. | ||||||
| ACFA | INC HL | |||||||
| ACFB | PUSH IX | Write this entity's address into the entry. | ||||||
| ACFD | POP DE | |||||||
| ACFE | LD (HL),E | |||||||
| ACFF | INC HL | |||||||
| AD00 | LD (HL),D | |||||||
| AD01 | INC HL | |||||||
| AD02 | LD ($B06C),HL | The list continues after this entry. | ||||||
| AD05 | EXX | Bring the other registers back. | ||||||
| AD06 | RET | Return. | ||||||
| Prev: AC40 | Up: Map | Next: AD07 |