User Tools

Site Tools


x68000:joystick_regs

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
x68000:joystick_regs [2017/10/03 15:20] – created neko68kx68000:joystick_regs [2017/10/03 15:59] – [Register Descriptions] neko68k
Line 12: Line 12:
  
 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 CPFS-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 49:
 --- ---
  
-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 43: Line 57:
  
 ^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.txt · Last modified: 2019/08/27 20:45 by 127.0.0.1