x68000:joystick_regs
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
x68000:joystick_regs [2017/10/03 15:20] – created neko68k | x68000:joystick_regs [2019/08/27 20:45] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Joystick Registers ====== | ====== Joystick Registers ====== | ||
+ | The X68000 joystick interface is a [[http:// | ||
===== Register List ===== | ===== Register List ===== | ||
Line 12: | Line 13: | ||
Joystick # 1 (0xE9A001): \\ | Joystick # 1 (0xE9A001): \\ | ||
- | Joystick # 2 (0xE9A003): | + | Joystick # 2 (0xE9A003): |
+ | |||
+ | ^MSX 2 Button^ | ||
^ 7 ^ 6 ^ 5 ^ 4 ^ 3 ^ 2 ^ 1 ^ 0 ^ | ^ 7 ^ 6 ^ 5 ^ 4 ^ 3 ^ 2 ^ 1 ^ 0 ^ | ||
| 0 | TRG B | TRG A | 0 | RIGHT | LEFT | BACK | FORWARD | | 0 | TRG B | TRG A | 0 | RIGHT | LEFT | BACK | FORWARD | ||
+ | |||
+ | ^CPSF and CPSF-MD^ | ||
+ | |||
+ | PC4/PC5 = 0: | ||
+ | |||
+ | ^ 7 ^ 6 ^ 5 ^ 4 ^ 3 ^ 2 ^ 1 ^ 0 ^ | ||
+ | | 0 | TRG B | TRG A | 0 | RIGHT | LEFT | BACK | FORWARD | ||
+ | |||
+ | PC4/PC5 = 1: | ||
+ | |||
+ | ^ 7 ^ 6 ^ 5 ^ 4 ^ 3 ^ 2 ^ 1 ^ 0 ^ | ||
+ | | 0 | START | TRG C | 0 | MODE | TRG X | TRG Y | TRG Z | | ||
--- | --- | ||
Line 35: | Line 50: | ||
--- | --- | ||
- | Control Word bit set/reset (0xE9A007): | + | Control Word - Bit Set/Reset (0xE9A007): |
* Note: When MSB of this register is ' | * Note: When MSB of this register is ' | ||
Line 43: | Line 58: | ||
^Bits^Name^Description^ | ^Bits^Name^Description^ | ||
- | | 3~1 | BITSEL | + | | 3~1 | BITSEL |
| 0 | DATA |Value to set| | | 0 | DATA |Value to set| | ||
--- | --- | ||
- | Control Word Mode (0xE9A007): | + | Control Word - Mode (0xE9A007): |
* Note: When MSB of this register is ' | * Note: When MSB of this register is ' |
x68000/joystick_regs.1507008044.txt.gz · Last modified: 2019/08/27 20:44 (external edit)