Prev: 29680 Up: Map Next: 29709
29690: Load object's coordinates into BC and graphic lookup index into A and draw to screen
Used by the routine at 29709.
Input
C Index (in graphics lookup data table at 42642) of object to draw
IX Pointer to position data for this object (3 bytes: screen number, x-coordinate, y-coordinate)
29690 PUSH BC Store BC
29691 PUSH IX Store IX
29693 PUSH AF Store AF
This entry point is used by the routine at 29680.
29694 LD A,C Copy index of object to draw (as it appears in the graphics data lookup table at 42642) into A
29695 LD C,(IX+1) Load x-coordinate of object into C
29698 LD B,(IX+2) Load y-coordinate of object into B
29701 CALL 29950 Draw graphic in XOR mode
29704 POP AF Restore AF
29705 POP IX Restore IX
29707 POP BC Restore BC
29708 RET Return
Prev: 29680 Up: Map Next: 29709