Kempston Joystick Interface: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
Until the release of the +2 and +3, the Kempston joystick interface and its compatibles were the most common Joystick interfaces available to Speccy owners. | Until the release of the +2 and +3, the Kempston joystick interface and its compatibles were the most common Joystick interfaces available to Speccy owners. | ||
The original version also worked with the ZX-81, but joystick support in ZX81 games was much less common. | The original version also worked with the ZX-81, but joystick support in ZX81 games was much less common. | ||
The interface uses standards Atari-style joysticks. | |||
Port $1f | Port $1f | ||
Line 32: | Line 33: | ||
|00010000 | |00010000 | ||
|Fire! | |Fire! | ||
|- | |||
|5 | |||
|00100000 | |||
| Very occasionally a second fire button on some clones, but usually 0 | |||
|- | |||
|6 | |||
|01000000 | |||
| Always 0 | |||
|- | |||
|7 | |||
|10000000 | |||
| Always 0 | |||
|} | |} |
Revision as of 18:21, 17 December 2022
Until the release of the +2 and +3, the Kempston joystick interface and its compatibles were the most common Joystick interfaces available to Speccy owners.
The original version also worked with the ZX-81, but joystick support in ZX81 games was much less common.
The interface uses standards Atari-style joysticks.
Port $1f
Bits are active high so 00=nothing pressed.
Bit | Mask | Usage |
---|---|---|
0 | 00000001 | Right -> |
1 | 00000010 | Left <- |
2 | 00000100 | Down V |
3 | 00001000 | Up ^ |
4 | 00010000 | Fire! |
5 | 00100000 | Very occasionally a second fire button on some clones, but usually 0 |
6 | 01000000 | Always 0 |
7 | 10000000 | Always 0 |