Prev: 53815 Up: Map Next: 53868
53833: Process Object Location Recursively
Used by the routines at 56587 and 56629.
Input
A Object ID
B Location ID
ProcessObjectLocationRecursively 53833 PUSH IY Stash IY and IX on the stack.
53835 PUSH IX
53837 CALL AdjustObjectTableForSum Call AdjustObjectTableForSum.
ProcessObjectLocationRecursively_0 53840 CALL FetchNextObjectWithID Call FetchNextObjectWithID.
53843 JR Z,ProcessObjectLocationRecursively_1 Jump to ProcessObjectLocationRecursively_1 if ?? is equal to 0.
53845 CP (IY+1) Jump to ProcessObjectLocationRecursively_0 if A is not equal to *IY+1.
53848 JR NZ,ProcessObjectLocationRecursively_0
53850 LD (IY+15),B Write B to *IY+15.
53853 PUSH AF Stash AF on the stack.
53854 LD A,(IX+0) A=*IX+0.
53857 CALL ProcessObjectLocationRecursively Call ProcessObjectLocationRecursively.
53860 POP AF Restore AF from the stack.
53861 JR ProcessObjectLocationRecursively_0 Jump to ProcessObjectLocationRecursively_0.
ProcessObjectLocationRecursively_1 53863 POP IX Restore IX and IY from the stack.
53865 POP IY
53867 RET Return.
Prev: 53815 Up: Map Next: 53868