Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Input: amijoy - fix grammar in documentation

Make small grammar fixes to Amiga joystick documentation.

Signed-off-by: George Anthony Vernon <contact@gvernon.com>
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
Link: https://lore.kernel.org/r/20250526135957.180254-4-contact@gvernon.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

George Anthony Vernon and committed by
Dmitry Torokhov
11172ec5 ed1d9c2b

+42 -43
+42 -43
Documentation/input/devices/amijoy.rst
··· 1 - ~~~~~~~~~~~~~~~~~~~~~~~~~ 2 - Amiga joystick extensions 3 - ~~~~~~~~~~~~~~~~~~~~~~~~~ 1 + ~~~~~~~~~~~~~~~ 2 + Amiga joysticks 3 + ~~~~~~~~~~~~~~~ 4 4 5 5 6 - Amiga 4-joystick parport extension 7 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 + Amiga 4-joystick parallel port extension 7 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 8 9 9 Parallel port pins: 10 - 11 10 12 11 ===== ======== ==== ========== 13 12 Pin Meaning Pin Meaning ··· 89 90 90 91 ------------------------------------------------------------------------------- 91 92 92 - ======== === ==== ==== ====== ======================================== 93 + ======== === ==== ==== ====== =========================================== 93 94 NAME rev ADDR type chip Description 94 - ======== === ==== ==== ====== ======================================== 95 - JOY0DAT 00A R Denise Joystick-mouse 0 data (left vert, horiz) 96 - JOY1DAT 00C R Denise Joystick-mouse 1 data (right vert,horiz) 97 - ======== === ==== ==== ====== ======================================== 95 + ======== === ==== ==== ====== =========================================== 96 + JOY0DAT 00A R Denise Joystick-mouse 0 data (left vert., horiz.) 97 + JOY1DAT 00C R Denise Joystick-mouse 1 data (right vert., horiz.) 98 + ======== === ==== ==== ====== =========================================== 98 99 99 100 These addresses each read a 16 bit register. These in turn 100 101 are loaded from the MDAT serial stream and are clocked in on 101 102 the rising edge of SCLK. MLD output is used to parallel load 102 - the external parallel-to-serial converter.This in turn is 103 + the external parallel-to-serial converter. This in turn is 103 104 loaded with the 4 quadrature inputs from each of two game 104 105 controller ports (8 total) plus 8 miscellaneous control bits 105 106 which are new for LISA and can be read in upper 8 bits of ··· 107 108 108 109 Register bits are as follows: 109 110 110 - - Mouse counter usage (pins 1,3 =Yclock, pins 2,4 =Xclock) 111 + - Mouse counter usage (pins 1,3 =Yclock, pins 2,4 =Xclock) 111 112 112 113 ======== === === === === === === === === ====== === === === === === === === 113 114 BIT# 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 ··· 178 179 179 180 ------------------------------------------------------------------------------- 180 181 181 - ======= === ==== ==== ====== ======================================== 182 + ======= === ==== ==== ====== =========================================== 182 183 NAME rev ADDR type chip Description 183 - ======= === ==== ==== ====== ======================================== 184 - POT0DAT h 012 R Paula Pot counter data left pair (vert, horiz) 185 - POT1DAT h 014 R Paula Pot counter data right pair (vert,horiz) 186 - ======= === ==== ==== ====== ======================================== 184 + ======= === ==== ==== ====== =========================================== 185 + POT0DAT h 012 R Paula Pot counter data left pair (vert., horiz.) 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 bit pot counters. 189 190 (4 counters total). The bit assignment for both ··· 212 213 +-------+------+-----+-----+-------+ 213 214 214 215 With normal (NTSC or PAL) horiz. line rate, the pots will 215 - give a full scale (FF) reading with about 500kohms in one 216 - frame time. With proportionally faster horiz line times, 216 + give a full scale (FF) reading with about 500k ohm in one 217 + frame time. With proportionally faster horiz. line times, 217 218 the counters will count proportionally faster. 218 219 This should be noted when doing variable beam displays. 219 220 ··· 237 238 This register controls a 4 bit bi-direction I/O port 238 239 that shares the same 4 pins as the 4 pot counters above. 239 240 240 - +-------+----------+---------------------------------------------+ 241 - | BIT# | FUNCTION | DESCRIPTION | 242 - +=======+==========+=============================================+ 243 - | 15 | OUTRY | Output enable for Paula pin 33 | 244 - +-------+----------+---------------------------------------------+ 245 - | 14 | DATRY | I/O data Paula pin 33 | 246 - +-------+----------+---------------------------------------------+ 247 - | 13 | OUTRX | Output enable for Paula pin 32 | 248 - +-------+----------+---------------------------------------------+ 249 - | 12 | DATRX | I/O data Paula pin 32 | 250 - +-------+----------+---------------------------------------------+ 251 - | 11 | OUTLY | Out put enable for Paula pin 36 | 252 - +-------+----------+---------------------------------------------+ 253 - | 10 | DATLY | I/O data Paula pin 36 | 254 - +-------+----------+---------------------------------------------+ 255 - | 09 | OUTLX | Output enable for Paula pin 35 | 256 - +-------+----------+---------------------------------------------+ 257 - | 08 | DATLX | I/O data Paula pin 35 | 258 - +-------+----------+---------------------------------------------+ 259 - | 07-01 | X | Not used | 260 - +-------+----------+---------------------------------------------+ 261 - | 00 | START | Start pots (dump capacitors,start counters) | 262 - +-------+----------+---------------------------------------------+ 241 + +-------+----------+----------------------------------------------+ 242 + | BIT# | FUNCTION | DESCRIPTION | 243 + +=======+==========+==============================================+ 244 + | 15 | OUTRY | Output enable for Paula pin 33 | 245 + +-------+----------+----------------------------------------------+ 246 + | 14 | DATRY | I/O data Paula pin 33 | 247 + +-------+----------+----------------------------------------------+ 248 + | 13 | OUTRX | Output enable for Paula pin 32 | 249 + +-------+----------+----------------------------------------------+ 250 + | 12 | DATRX | I/O data Paula pin 32 | 251 + +-------+----------+----------------------------------------------+ 252 + | 11 | OUTLY | Out put enable for Paula pin 36 | 253 + +-------+----------+----------------------------------------------+ 254 + | 10 | DATLY | I/O data Paula pin 36 | 255 + +-------+----------+----------------------------------------------+ 256 + | 09 | OUTLX | Output enable for Paula pin 35 | 257 + +-------+----------+----------------------------------------------+ 258 + | 08 | DATLX | I/O data Paula pin 35 | 259 + +-------+----------+----------------------------------------------+ 260 + | 07-01 | X | Not used | 261 + +-------+----------+----------------------------------------------+ 262 + | 00 | START | Start pots (dump capacitors, start counters) | 263 + +-------+----------+----------------------------------------------+