![]() |
Routines |
| Prev: C8AB | Up: Map | Next: C8EF |
|
Used by the routine at DrawObjectsInOrder.
Draws an object that does not have to wait for any other object, and flags it as drawn in the list.
|
||||||||
|
Flag it drawn and print it.
|
||||||||
| DrawNextObject | C8D5 | LD HL,($5B2D) | Fetch the place in the list after the first object. | |||||
|
This entry point is used by the routine at CompareWithOtherObject.
|
||||||||
| DrawNextObject_Flag | C8D8 | DEC HL | Point HL at the entry of the object. | |||||
| C8D9 | SET 7,(HL) | Flag the object as drawn. | ||||||
| C8DB | LD A,$FF | Mark the end of the list of objects that have taken the first place. | ||||||
| C8DD | LD ($C8EF),A | |||||||
| C8E0 | LD HL,$5B1E | Point HL at ObjectsDrawn. | ||||||
| C8E3 | INC (HL) | Add one to it. | ||||||
| C8E4 | CALL DrawObject | Draw the object into the buffer. | ||||||
| C8E7 | JP DrawObjectsInOrder_First | Jump to DrawObjectsInOrder_First to find the next object. | ||||||
|
This entry point is used by the routine at DrawObjectsInOrder.
There are no objects left to draw.
|
||||||||
| DrawNextObject_Finish | C8EA | POP IY | Restore IY and IX from the stack. | |||||
| C8EC | POP IX | |||||||
| C8EE | RET | Return. | ||||||
|
View the equivalent code in;
|
||||||||
| Prev: C8AB | Up: Map | Next: C8EF |