![]() |
Routines |
| Prev: 24959 | Up: Map | Next: 24972 |
|
Reads the Kempston joystick. The bits are flipped so that, as with the keyboard routines, a direction which is pressed is a reset bit: bit 0 is right, bit 1 is left, bit 2 is down (brake) and bit 3 is up (accelerate).
|
||||||||
| ReadKempstonJoystick | 24968 | IN A,(31) | Read the Kempston joystick (port 31) into A. | |||||
| 24970 | CPL | Flip the bits. | ||||||
| 24971 | RET | Return. | ||||||
|
View the equivalent code in;
|
||||||||
| Prev: 24959 | Up: Map | Next: 24972 |