Kempston Joystick

From SpecNext Wiki
Revision as of 21:15, 5 February 2020 by Ped7g (talk | contribs) (Adding bits info for Kempston/MD joystick reading)
Jump to: navigation, search
Number PortNumber::$xx1F
Decimal NumberDec::
Short desc. ShortDesc::Reads movement of joysticks using Kempston interface.
Bit Mask PortMask::%---- ---- 0001 1111
Readable Readable::Yes
Writable Writable::No
Subsystem Subsystem::Input
Bit Function
Kempston joystick MD controller
7 0 start/mode buttons
6 0 A/X buttons
5 Fire 2 B/Y buttons
4 Fire 1 C/Z buttons
3 up
2 down
1 left
0 right

For all bits 0 = not pressed / 1 = pressed