Joystick ports

XL/XE models have two joystick ports. 400/800 models have four joystick ports. At least two ports are programmable for output (not sure about PORTB of PIA).

port
1port bit 0
2port bit 1
3port bit 2
4port bit 3
5pot 1
6trig 0
7+5V
8gnd
9pot 0

Joy 0: port A, bits 0-3, pot 0, pot 1, trig 0
Joy 1: port A, bits 4-7, pot 2, pot 3, trig 1
Joy 2: port B, bits 0-3, pot 4, pot 5, trig 2
Joy 3: port B, bits 4-7, pot 6, pot 7, trig 3

Joystick

joy

Autofire circuit:

autof
Frequency = 1.44 / ( R1 + 2 * R2 ) * C2

Paddles

Values are from 228 at left to 1 at right.
paddles

Keyboard controller

Controller consisting of 4 rows of three buttons.
1row 1
2row 2
3row 3
4row 4
5col 1
6col 3
9col 2

Multijoy interface

More info is here.

Light gun

Light gun input is on pin 6 (trig). Can be only used in port 4 on Atari 400. The trigger is connected (inverted) to bit 0. That means that you can 'detect' light gun by getting 1110 when inserted (1111 when pressing fire).

Light pen

Koala pad

Atari Touch Tablet

1pen button
3left button
4right button
5Y axis (7-228 from bottom)
7+5V
8GND
9X axis (4-228 from left)

Chalkboard

Trackball CX-22

1L/R sense (0 = left)
2L/R reference
3U/D sense (0 = up)
4U/D reference
6button
7+5V
8GND

ST Mouse

1L/R sense (0 = right
2L/R reference
3U/D sense (0 = down)
4U/D reference
6L button
7+5V
8GND
9R button

Amiga Mouse

1U/D reference
2L/R reference
3U/D sense
4L/R sense
5M button
6L button
7+5V
8GND
9R button

XEP80

. Back (c) 1998-2004 Jindroush Last modified: Sun Mar 25 23:48:36 2001