Atari joysticks, paddles and controllers (CX40, CX30 and family)

Year
1978
Type
Peripheral
Category
Game controllers (joystick port)
Manufacturer
Atari, Inc. / Atari Corp.
Atari CX40 joystick seen from above, black with red fire button

Overview

The 8-bit Atari computers use exactly the same controller ports as the Atari 2600 VCS: male DE-9 connectors carrying four digital direction lines from the PIA, a trigger line to the GTIA, and two analogue "pot" lines read by POKEY. As a result every Atari 2600 controller works on the computers and vice versa, and similar ports later appeared on the Atari 7800 and ST and on machines from Commodore, Amstrad, MSX makers and Sega, so simple single-button joysticks often work across all of them. The 400 and 800 have four ports; every later model has two.

Atari's own controllers for the family are:

Model Controller Notes
CX10 Original joystick (1977) Five internal spring-loaded buttons; replaced by the CX40 in 1978
CX40 Standard joystick (1978) The iconic black stick with red button; grey-based units for the XEGS; re-released as CX40+ (2023) and wireless CX40+ (2024)
CX24 Pro-Line Joystick / Super Controller / Deluxe Joystick (1983) Two fire buttons (read separately only by the 7800)
CX42 Remote Control Wireless Joysticks (1983) Made by Cynex; receiver plus two battery-powered sticks
CX43 Space Age Joystick (1983) Made by Milton Bradley
CX30 Paddle Controllers, pair (1977) 1 MΩ linear potentiometer each; both paddles share one port; re-released as CX30+ (2023)
CX20 Driving Controllers (1977) Endless-rotation knob; marketed for the 400/800 in 1979 only
CX50 Keyboard Controllers (1978) 12-key pads; marketed for the 400/800 in 1980–81; same interface as the CX21 Video Touch Pad and CX23 Kid's Controller
CX41 Joystick repair kit Board, springs, insert, boot, retaining ring

The CX40 was designed by Gerald R. Aamoth and Kevin P. McKinsey. At the June 1979 CES, pairs of joysticks, paddles or driving controllers each listed at $19.95.

How they work

  • Joystick. Each direction is a switch to ground on one PIA bit; the readings are inverted, so a centred stick (or an empty port) reads all ones. Nothing stops "impossible" combinations such as up + down if another device is plugged in. In BASIC, STICK(n) and STRIG(n) read the stick and button.
  • Paddles. Each knob turns a potentiometer of about 330° range. POKEY times how long a capacitor takes to charge through it, once per frame, giving values 1–228 (fully anticlockwise = 1). Two paddles share a port, so a 400/800 can read eight and an XL/XE four. The paddle buttons appear on joystick direction lines. In BASIC: PADDLE(n) and PTRIG(n).
  • Driving controller. Looks like a paddle but spins endlessly; it reports a two-bit Gray code on the up/down lines, changing 16 times per revolution.
  • Keyboard controller. A 4 × 3 key matrix scanned by driving the four direction lines low in turn and reading the two pot lines and the trigger.

Software

Most games use the joystick. Paddle games include Atari's own Super Breakout (Larry Kaplan, 1979), Activision's Kaboom!, the APX titles Avalanche and Block Buster, Arkanoid, and modern homebrews such as Night Driver (2008) and Bomber (2015). The driving and keyboard controllers have much smaller libraries.

Using it today / Known issues & tips

  • Worn joysticks. Atari itself sold the CX41 repair kit (new circuit board, springs, insert, boot and retaining ring) for worn CX40s, and Atari Benelux sold replacement boards (CX10), inserts (CX11) and cables (CX12).
  • Paddle reading. Software starts a scan by writing POTGO and reads the results a frame later, usually in the vertical-blank interrupt; values range 1–228.
  • Power on the port. Pin 7 supplies +5 V and pin 8 is ground on every port.
  • Emulation. Altirra supports joystick, paddle (including rotation-based control), driving and keyboard controllers mapped to modern input devices.

Credits