Prev: B224 Up: Map Next: B27A
B267: Handle Conveyor North
The handler for a conveyor which carries objects north (object 44). The conveyor does not move but is given a speed of 02 along the y axis, which is used for the objects which stand on it. The other conveyors set a different speed and continue from HandleConveyor.
Input
IX The address of the object
Set the northward speed.
HandleConveyorNorth B267 LD (IX+$0A),$02 Write 02 as the speed along the y axis.
This entry point is used by the routines at HandleConveyorEast, HandleConveyorSouth and HandleConveyorWest.
Draw the conveyor and stop it falling.
HandleConveyor B26B CALL SetPixelAdjustments Call SetPixelAdjustments.
B26E LD A,(IX+$0B) Fetch the speed along the z axis.
B271 AND A Call PlayHighBeep if something has landed on it.
B272 CALL NZ,PlayHighBeep
B275 XOR A Write 00 as the speed along the z axis.
B276 LD (IX+$0B),A
B279 RET Return.
Prev: B224 Up: Map Next: B27A