Prev: 53724 Up: Map Next: 53788
53766: Fetch Next Object
Steps to the next object in the list and reports whether the list has ended.
Input
IX Pointer to objects table
Output
IX Pointer to object table
IY Pointer to object data
F The zero flag is set if the end of the table is reached
FetchNextObject 53766 EXX Switch to the shadow registers.
53767 LD DE,3 Step to the next object record.
53770 ADD IX,DE
53772 LD D,(IX+2) Read the next object's data pointer.
53775 LD E,(IX+1)
53778 PUSH DE
53779 POP IY
53781 LD A,(IX+0) Stop at the end of the object table (255).
53784 CP 255
53786 EXX Switch back to the normal registers.
53787 RET Return.
View the equivalent code in;
Prev: 53724 Up: Map Next: 53788