User Tools

Site Tools


x68000:joystick_regs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
x68000:joystick_regs [2017/10/03 15:48] – [Register Descriptions] added CPSF bits neko68kx68000: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://nfggames.com/x68000/Development/datasheets/82C55%20-%20PPI.pdf|µPD82C55]]. The ADPCM sample rate and pan pot are also set through Port C of this device.
  
 ===== Register List ===== ===== Register List =====
Line 19: Line 20:
 |  0  |  TRG B  |  TRG A  |  0  |  RIGHT  |  LEFT  |  BACK  |  FORWARD  | |  0  |  TRG B  |  TRG A  |  0  |  RIGHT  |  LEFT  |  BACK  |  FORWARD  |
  
-^CPSF and CPFS-MD^+^CPSF and CPSF-MD^
  
 PC4/PC5 = 0: PC4/PC5 = 0:
Line 49: Line 50:
 --- ---
  
-Control Word bit set/reset (0xE9A007):+Control Word - Bit Set/Reset (0xE9A007):
  
 * Note: When MSB of this register is '0' the function is 8255 Port C line set/reset. * Note: When MSB of this register is '0' the function is 8255 Port C line set/reset.
Line 57: Line 58:
  
 ^Bits^Name^Description^ ^Bits^Name^Description^
-|  3~1  |  BITSEL  |Specify the position to manipulate. Each bit corresponds to its respective PCn line on the 8255.|+|  3~1  |  BITSEL  |Specify the position to manipulate. Values 0~7 correspond to its respective PCn line on the 8255.|
 |  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 '1' the function is 8255 mode setting. * Note: When MSB of this register is '1' the function is 8255 mode setting.
x68000/joystick_regs.1507009695.txt.gz · Last modified: 2019/08/27 20:44 (external edit)