![]() |
Routines |
| Prev: 617F | Up: Map | Next: 618C |
|
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 | 6188 | IN A,($1F) | Read the Kempston joystick (port 1F) into A. | |||||
| 618A | CPL | Flip the bits. | ||||||
| 618B | RET | Return. | ||||||
|
View the equivalent code in;
|
||||||||
| Prev: 617F | Up: Map | Next: 618C |