~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/input/devices/amijoy.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/input/devices/amijoy.rst (Version linux-6.12-rc7) and /Documentation/input/devices/amijoy.rst (Version linux-6.9.12)


  1 ~~~~~~~~~~~~~~~~~~~~~~~~~                           1 ~~~~~~~~~~~~~~~~~~~~~~~~~
  2 Amiga joystick extensions                           2 Amiga joystick extensions
  3 ~~~~~~~~~~~~~~~~~~~~~~~~~                           3 ~~~~~~~~~~~~~~~~~~~~~~~~~
  4                                                     4 
  5                                                     5 
  6 Amiga 4-joystick parport extension                  6 Amiga 4-joystick parport extension
  7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                  7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  8                                                     8 
  9 Parallel port pins:                                 9 Parallel port pins:
 10                                                    10 
 11                                                    11 
 12 =====  ======== ====   ==========                  12 =====  ======== ====   ==========
 13 Pin    Meaning  Pin    Meaning                     13 Pin    Meaning  Pin    Meaning
 14 =====  ======== ====   ==========                  14 =====  ======== ====   ==========
 15  2     Up1       6     Up2                         15  2     Up1       6     Up2
 16  3     Down1     7     Down2                       16  3     Down1     7     Down2
 17  4     Left1     8     Left2                       17  4     Left1     8     Left2
 18  5     Right1    9     Right2                      18  5     Right1    9     Right2
 19 13     Fire1    11     Fire2                       19 13     Fire1    11     Fire2
 20 18     Gnd1     18     Gnd2                        20 18     Gnd1     18     Gnd2
 21 =====  ======== ====   ==========                  21 =====  ======== ====   ==========
 22                                                    22 
 23 Amiga digital joystick pinout                      23 Amiga digital joystick pinout
 24 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                      24 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 25                                                    25 
 26 === ============                                   26 === ============
 27 Pin Meaning                                        27 Pin Meaning
 28 === ============                                   28 === ============
 29 1   Up                                             29 1   Up
 30 2   Down                                           30 2   Down
 31 3   Left                                           31 3   Left
 32 4   Right                                          32 4   Right
 33 5   n/c                                            33 5   n/c
 34 6   Fire button                                    34 6   Fire button
 35 7   +5V (50mA)                                     35 7   +5V (50mA)
 36 8   Gnd                                            36 8   Gnd
 37 9   Thumb button                                   37 9   Thumb button
 38 === ============                                   38 === ============
 39                                                    39 
 40 Amiga mouse pinout                                 40 Amiga mouse pinout
 41 ~~~~~~~~~~~~~~~~~~                                 41 ~~~~~~~~~~~~~~~~~~
 42                                                    42 
 43 === ============                                   43 === ============
 44 Pin Meaning                                        44 Pin Meaning
 45 === ============                                   45 === ============
 46 1   V-pulse                                        46 1   V-pulse
 47 2   H-pulse                                        47 2   H-pulse
 48 3   VQ-pulse                                       48 3   VQ-pulse
 49 4   HQ-pulse                                       49 4   HQ-pulse
 50 5   Middle button                                  50 5   Middle button
 51 6   Left button                                    51 6   Left button
 52 7   +5V (50mA)                                     52 7   +5V (50mA)
 53 8   Gnd                                            53 8   Gnd
 54 9   Right button                                   54 9   Right button
 55 === ============                                   55 === ============
 56                                                    56 
 57 Amiga analog joystick pinout                       57 Amiga analog joystick pinout
 58 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~                       58 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 59                                                    59 
 60 === ==============                                 60 === ==============
 61 Pin Meaning                                        61 Pin Meaning
 62 === ==============                                 62 === ==============
 63 1   Top button                                     63 1   Top button
 64 2   Top2 button                                    64 2   Top2 button
 65 3   Trigger button                                 65 3   Trigger button
 66 4   Thumb button                                   66 4   Thumb button
 67 5   Analog X                                       67 5   Analog X
 68 6   n/c                                            68 6   n/c
 69 7   +5V (50mA)                                     69 7   +5V (50mA)
 70 8   Gnd                                            70 8   Gnd
 71 9   Analog Y                                       71 9   Analog Y
 72 === ==============                                 72 === ==============
 73                                                    73 
 74 Amiga lightpen pinout                              74 Amiga lightpen pinout
 75 ~~~~~~~~~~~~~~~~~~~~~                              75 ~~~~~~~~~~~~~~~~~~~~~
 76                                                    76 
 77 === =============                                  77 === =============
 78 Pin Meaning                                        78 Pin Meaning
 79 === =============                                  79 === =============
 80 1   n/c                                            80 1   n/c
 81 2   n/c                                            81 2   n/c
 82 3   n/c                                            82 3   n/c
 83 4   n/c                                            83 4   n/c
 84 5   Touch button                                   84 5   Touch button
 85 6   /Beamtrigger                                   85 6   /Beamtrigger
 86 7   +5V (50mA)                                     86 7   +5V (50mA)
 87 8   Gnd                                            87 8   Gnd
 88 9   Stylus button                                  88 9   Stylus button
 89 === =============                                  89 === =============
 90                                                    90 
 91 ----------------------------------------------     91 -------------------------------------------------------------------------------
 92                                                    92 
 93 ======== === ==== ==== ====== ================     93 ======== === ==== ==== ====== ========================================
 94 NAME     rev ADDR type chip   Description          94 NAME     rev ADDR type chip   Description
 95 ======== === ==== ==== ====== ================     95 ======== === ==== ==== ====== ========================================
 96 JOY0DAT      00A   R   Denise Joystick-mouse 0     96 JOY0DAT      00A   R   Denise Joystick-mouse 0 data (left vert, horiz)
 97 JOY1DAT      00C   R   Denise Joystick-mouse 1     97 JOY1DAT      00C   R   Denise Joystick-mouse 1 data (right vert,horiz)
 98 ======== === ==== ==== ====== ================     98 ======== === ==== ==== ====== ========================================
 99                                                    99 
100         These addresses each read a 16 bit reg    100         These addresses each read a 16 bit register. These in turn
101         are loaded from the MDAT serial stream    101         are loaded from the MDAT serial stream and are clocked in on
102         the rising edge of SCLK. MLD output is    102         the rising edge of SCLK. MLD output is used to parallel load
103         the external parallel-to-serial conver    103         the external parallel-to-serial converter.This in turn is
104         loaded with the 4 quadrature inputs fr    104         loaded with the 4 quadrature inputs from each of two game
105         controller ports (8 total) plus 8 misc    105         controller ports (8 total) plus 8 miscellaneous control bits
106         which are new for LISA and can be read    106         which are new for LISA and can be read in upper 8 bits of
107         LISAID.                                   107         LISAID.
108                                                   108 
109         Register bits are as follows:             109         Register bits are as follows:
110                                                   110 
111         - Mouse counter usage (pins  1,3 =Yclo    111         - Mouse counter usage (pins  1,3 =Yclock, pins 2,4 =Xclock)
112                                                   112 
113 ======== === === === === === === === === =====    113 ======== === === === === === === === === ====== === === === === === === ===
114     BIT#  15  14  13  12  11  10  09  08     0    114     BIT#  15  14  13  12  11  10  09  08     07  06  05  04  03  02  01  00
115 ======== === === === === === === === === =====    115 ======== === === === === === === === === ====== === === === === === === ===
116 JOY0DAT   Y7  Y6  Y5  Y4  Y3  Y2  Y1  Y0     X    116 JOY0DAT   Y7  Y6  Y5  Y4  Y3  Y2  Y1  Y0     X7  X6  X5  X4  X3  X2  X1  X0
117 JOY1DAT   Y7  Y6  Y5  Y4  Y3  Y2  Y1  Y0     X    117 JOY1DAT   Y7  Y6  Y5  Y4  Y3  Y2  Y1  Y0     X7  X6  X5  X4  X3  X2  X1  X0
118 ======== === === === === === === === === =====    118 ======== === === === === === === === === ====== === === === === === === ===
119                                                   119 
120         0=LEFT CONTROLLER PAIR, 1=RIGHT CONTRO    120         0=LEFT CONTROLLER PAIR, 1=RIGHT CONTROLLER PAIR.
121         (4 counters total). The bit usage for     121         (4 counters total). The bit usage for both left and right
122         addresses is shown below. Each 6 bit c    122         addresses is shown below. Each 6 bit counter (Y7-Y2,X7-X2) is
123         clocked by 2 of the signals input from    123         clocked by 2 of the signals input from the mouse serial
124         stream. Starting with first bit receiv    124         stream. Starting with first bit received:
125                                                   125 
126          +-------------------+----------------    126          +-------------------+-----------------------------------------+
127          | Serial | Bit Name | Description        127          | Serial | Bit Name | Description                             |
128          +========+==========+================    128          +========+==========+=========================================+
129          |   0    | M0H      | JOY0DAT Horizon    129          |   0    | M0H      | JOY0DAT Horizontal Clock                |
130          +--------+----------+----------------    130          +--------+----------+-----------------------------------------+
131          |   1    | M0HQ     | JOY0DAT Horizon    131          |   1    | M0HQ     | JOY0DAT Horizontal Clock (quadrature)   |
132          +--------+----------+----------------    132          +--------+----------+-----------------------------------------+
133          |   2    | M0V      | JOY0DAT Vertica    133          |   2    | M0V      | JOY0DAT Vertical Clock                  |
134          +--------+----------+----------------    134          +--------+----------+-----------------------------------------+
135          |   3    | M0VQ     | JOY0DAT Vertica    135          |   3    | M0VQ     | JOY0DAT Vertical Clock  (quadrature)    |
136          +--------+----------+----------------    136          +--------+----------+-----------------------------------------+
137          |   4    | M1V      | JOY1DAT Horizon    137          |   4    | M1V      | JOY1DAT Horizontal Clock                |
138          +--------+----------+----------------    138          +--------+----------+-----------------------------------------+
139          |   5    | M1VQ     | JOY1DAT Horizon    139          |   5    | M1VQ     | JOY1DAT Horizontal Clock (quadrature)   |
140          +--------+----------+----------------    140          +--------+----------+-----------------------------------------+
141          |   6    | M1V      | JOY1DAT Vertica    141          |   6    | M1V      | JOY1DAT Vertical Clock                  |
142          +--------+----------+----------------    142          +--------+----------+-----------------------------------------+
143          |   7    | M1VQ     | JOY1DAT Vertica    143          |   7    | M1VQ     | JOY1DAT Vertical Clock (quadrature)     |
144          +--------+----------+----------------    144          +--------+----------+-----------------------------------------+
145                                                   145 
146          Bits 1 and 0 of each counter (Y1-Y0,X    146          Bits 1 and 0 of each counter (Y1-Y0,X1-X0) may be
147          read to determine the state of the re    147          read to determine the state of the related input signal pair.
148          This allows these pins to double as j    148          This allows these pins to double as joystick switch inputs.
149          Joystick switch closures can be decip    149          Joystick switch closures can be deciphered as follows:
150                                                   150 
151          +------------+------+----------------    151          +------------+------+---------------------------------+
152          | Directions | Pin# | Counter bits       152          | Directions | Pin# | Counter bits                    |
153          +============+======+================    153          +============+======+=================================+
154          | Forward    |  1   | Y1 xor Y0 (BIT#    154          | Forward    |  1   | Y1 xor Y0 (BIT#09 xor BIT#08)   |
155          +------------+------+----------------    155          +------------+------+---------------------------------+
156          | Left       |  3   | Y1                 156          | Left       |  3   | Y1                              |
157          +------------+------+----------------    157          +------------+------+---------------------------------+
158          | Back       |  2   | X1 xor X0 (BIT#    158          | Back       |  2   | X1 xor X0 (BIT#01 xor BIT#00)   |
159          +------------+------+----------------    159          +------------+------+---------------------------------+
160          | Right      |  4   | X1                 160          | Right      |  4   | X1                              |
161          +------------+------+----------------    161          +------------+------+---------------------------------+
162                                                   162 
163 ----------------------------------------------    163 -------------------------------------------------------------------------------
164                                                   164 
165 ========  === ==== ==== ====== ===============    165 ========  === ==== ==== ====== =================================================
166 NAME      rev ADDR type chip    Description       166 NAME      rev ADDR type chip    Description
167 ========  === ==== ==== ====== ===============    167 ========  === ==== ==== ====== =================================================
168 JOYTEST       036   W   Denise  Write to all 4    168 JOYTEST       036   W   Denise  Write to all 4  joystick-mouse counters at once.
169 ========  === ==== ==== ====== ===============    169 ========  === ==== ==== ====== =================================================
170                                                   170 
171                   Mouse counter write test dat    171                   Mouse counter write test data:
172                                                   172 
173 ========= === === === === === === === === ====    173 ========= === === === === === === === === ====== === === === === === === ===
174      BIT#  15  14  13  12  11  10  09  08         174      BIT#  15  14  13  12  11  10  09  08     07  06  05  04  03  02  01  00
175 ========= === === === === === === === === ====    175 ========= === === === === === === === === ====== === === === === === === ===
176   JOYxDAT  Y7  Y6  Y5  Y4  Y3  Y2  xx  xx         176   JOYxDAT  Y7  Y6  Y5  Y4  Y3  Y2  xx  xx     X7  X6  X5  X4  X3  X2  xx  xx
177   JOYxDAT  Y7  Y6  Y5  Y4  Y3  Y2  xx  xx         177   JOYxDAT  Y7  Y6  Y5  Y4  Y3  Y2  xx  xx     X7  X6  X5  X4  X3  X2  xx  xx
178 ========= === === === === === === === === ====    178 ========= === === === === === === === === ====== === === === === === === ===
179                                                   179 
180 ----------------------------------------------    180 -------------------------------------------------------------------------------
181                                                   181 
182 ======= === ==== ==== ====== =================    182 ======= === ==== ==== ====== ========================================
183 NAME    rev ADDR type chip   Description          183 NAME    rev ADDR type chip   Description
184 ======= === ==== ==== ====== =================    184 ======= === ==== ==== ====== ========================================
185 POT0DAT  h  012   R   Paula  Pot counter data     185 POT0DAT  h  012   R   Paula  Pot counter data left pair (vert, horiz)
186 POT1DAT  h  014   R   Paula  Pot counter data     186 POT1DAT  h  014   R   Paula  Pot counter data right pair (vert,horiz)
187 ======= === ==== ==== ====== =================    187 ======= === ==== ==== ====== ========================================
188                                                   188 
189         These addresses each read a pair of 8     189         These addresses each read a pair of 8 bit pot counters.
190         (4 counters total). The bit assignment    190         (4 counters total). The bit assignment for both
191         addresses is shown below. The counters    191         addresses is shown below. The counters are stopped by signals
192         from 2 controller connectors (left-rig    192         from 2 controller connectors (left-right) with 2 pins each.
193                                                   193 
194 ====== === === === === === === === === ======     194 ====== === === === === === === === === ====== === === === === === === ===
195   BIT#  15  14  13  12  11  10  09  08     07     195   BIT#  15  14  13  12  11  10  09  08     07  06  05  04  03  02  01  00
196 ====== === === === === === === === === ======     196 ====== === === === === === === === === ====== === === === === === === ===
197  RIGHT  Y7  Y6  Y5  Y4  Y3  Y2  Y1  Y0     X7     197  RIGHT  Y7  Y6  Y5  Y4  Y3  Y2  Y1  Y0     X7  X6  X5  X4  X3  X2  X1  X0
198   LEFT  Y7  Y6  Y5  Y4  Y3  Y2  Y1  Y0     X7     198   LEFT  Y7  Y6  Y5  Y4  Y3  Y2  Y1  Y0     X7  X6  X5  X4  X3  X2  X1  X0
199 ====== === === === === === === === === ======     199 ====== === === === === === === === === ====== === === === === === === ===
200                                                   200 
201          +--------------------------+-------+     201          +--------------------------+-------+
202          | CONNECTORS               | PAULA |     202          | CONNECTORS               | PAULA |
203          +-------+------+-----+-----+-------+     203          +-------+------+-----+-----+-------+
204          | Loc.  | Dir. | Sym | pin | pin   |     204          | Loc.  | Dir. | Sym | pin | pin   |
205          +=======+======+=====+=====+=======+     205          +=======+======+=====+=====+=======+
206          | RIGHT | Y    | RX  | 9   | 33    |     206          | RIGHT | Y    | RX  | 9   | 33    |
207          +-------+------+-----+-----+-------+     207          +-------+------+-----+-----+-------+
208          | RIGHT | X    | RX  | 5   | 32    |     208          | RIGHT | X    | RX  | 5   | 32    |
209          +-------+------+-----+-----+-------+     209          +-------+------+-----+-----+-------+
210          | LEFT  | Y    | LY  | 9   | 36    |     210          | LEFT  | Y    | LY  | 9   | 36    |
211          +-------+------+-----+-----+-------+     211          +-------+------+-----+-----+-------+
212          | LEFT  | X    | LX  | 5   | 35    |     212          | LEFT  | X    | LX  | 5   | 35    |
213          +-------+------+-----+-----+-------+     213          +-------+------+-----+-----+-------+
214                                                   214 
215          With normal (NTSC or PAL) horiz. line    215          With normal (NTSC or PAL) horiz. line rate, the pots will
216          give a full scale (FF) reading with a    216          give a full scale (FF) reading with about 500kohms in one
217          frame time. With proportionally faste    217          frame time. With proportionally faster horiz line times,
218          the counters will count proportionall    218          the counters will count proportionally faster.
219          This should be noted when doing varia    219          This should be noted when doing variable beam displays.
220                                                   220 
221 ----------------------------------------------    221 -------------------------------------------------------------------------------
222                                                   222 
223 ====== === ==== ==== ====== ==================    223 ====== === ==== ==== ====== ================================================
224 NAME   rev ADDR type chip   Description           224 NAME   rev ADDR type chip   Description
225 ====== === ==== ==== ====== ==================    225 ====== === ==== ==== ====== ================================================
226 POTGO      034   W   Paula  Pot port (4 bit) b    226 POTGO      034   W   Paula  Pot port (4 bit) bi-direction and data, and pot
227                             counter start.        227                             counter start.
228 ====== === ==== ==== ====== ==================    228 ====== === ==== ==== ====== ================================================
229                                                   229 
230 ----------------------------------------------    230 -------------------------------------------------------------------------------
231                                                   231 
232 ====== === ==== ==== ====== ==================    232 ====== === ==== ==== ====== ================================================
233 NAME   rev ADDR type chip   Description           233 NAME   rev ADDR type chip   Description
234 ====== === ==== ==== ====== ==================    234 ====== === ==== ==== ====== ================================================
235 POTINP     016   R   Paula  Pot pin data read     235 POTINP     016   R   Paula  Pot pin data read
236 ====== === ==== ==== ====== ==================    236 ====== === ==== ==== ====== ================================================
237                                                   237 
238         This register controls a 4 bit bi-dire    238         This register controls a 4 bit bi-direction I/O port
239         that shares the same 4 pins as the 4 p    239         that shares the same 4 pins as the 4 pot counters above.
240                                                   240 
241          +-------+----------+-----------------    241          +-------+----------+---------------------------------------------+
242          | BIT#  | FUNCTION | DESCRIPTION         242          | BIT#  | FUNCTION | DESCRIPTION                                 |
243          +=======+==========+=================    243          +=======+==========+=============================================+
244          | 15    | OUTRY    | Output enable fo    244          | 15    | OUTRY    | Output enable for Paula pin 33              |
245          +-------+----------+-----------------    245          +-------+----------+---------------------------------------------+
246          | 14    | DATRY    | I/O data Paula p    246          | 14    | DATRY    | I/O data Paula pin 33                       |
247          +-------+----------+-----------------    247          +-------+----------+---------------------------------------------+
248          | 13    | OUTRX    | Output enable fo    248          | 13    | OUTRX    | Output enable for Paula pin 32              |
249          +-------+----------+-----------------    249          +-------+----------+---------------------------------------------+
250          | 12    | DATRX    | I/O data Paula p    250          | 12    | DATRX    | I/O data Paula pin 32                       |
251          +-------+----------+-----------------    251          +-------+----------+---------------------------------------------+
252          | 11    | OUTLY    | Out put enable f    252          | 11    | OUTLY    | Out put enable for Paula pin 36             |
253          +-------+----------+-----------------    253          +-------+----------+---------------------------------------------+
254          | 10    | DATLY    | I/O data Paula p    254          | 10    | DATLY    | I/O data Paula pin 36                       |
255          +-------+----------+-----------------    255          +-------+----------+---------------------------------------------+
256          | 09    | OUTLX    | Output enable fo    256          | 09    | OUTLX    | Output enable for Paula pin 35              |
257          +-------+----------+-----------------    257          +-------+----------+---------------------------------------------+
258          | 08    | DATLX    | I/O data  Paula     258          | 08    | DATLX    | I/O data  Paula pin 35                      |
259          +-------+----------+-----------------    259          +-------+----------+---------------------------------------------+
260          | 07-01 |   X      | Not used            260          | 07-01 |   X      | Not used                                    |
261          +-------+----------+-----------------    261          +-------+----------+---------------------------------------------+
262          | 00    | START    | Start pots (dump    262          | 00    | START    | Start pots (dump capacitors,start counters) |
263          +-------+----------+-----------------    263          +-------+----------+---------------------------------------------+
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php