Kempston Joystick Interface: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
Bits are active high so 00=nothing pressed. | Bits are active high so 00=nothing pressed. | ||
{| | {| class="Wikitable" | ||
!Bit | !Bit | ||
!Mask | !Mask |
Revision as of 18:14, 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.
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! |