Prev: 30137 Up: Map Next: 30160
30156: Controls: Kempston Joystick
Used by the routine at ReadInput.
Reads the Kempston joystick port. The bits are inverted so that a pressed direction or fire button reads as a clear bit, in the same way as the keyboard controls.
Output
A Joystick controls
ReadKempstonJoystick 30156 IN A,(31) Read the joystick from the Kempston port.
30158 CPL Flip the bits.
30159 RET Return.
View the equivalent code in;
Prev: 30137 Up: Map Next: 30160