Atari light pens (CX70, CX75) and the XG-1 light gun

Year
1984
Type
Peripheral
Category
Light pen / light gun (joystick port)
Manufacturer
Atari, Inc. / Atari Corp.
Grey Atari XG-1 light gun

Overview

Light pens and light guns were built into the 8-bit Atari's design from the start. A light pen contains a photo-sensor: when the CRT's electron beam sweeps past the point it is aimed at, the pen pulses a joystick trigger line, and ANTIC latches its current horizontal and vertical beam position into the PENH and PENV registers. No interface electronics are needed — the pen plugs straight into a joystick port and, as The Creative Atari put it, "can be read straightforwardly with the statements PEEK(564) and PEEK(565)" (the OS shadow copies of the pen position). A light gun works the same way, so programs written for one can sometimes accept the other.

Atari produced three such devices:

Model Type Years Notes
CX70 Light pen 1980–81 Introduced June 1980 at $74.95; shipped winter 1980–81, discontinued by May 1981; units marked "Not For Retail Sale"; came with demo cassette CX4124. Very rare
CX75 Light pen 1984 Announced June 1983, introduced January 1984, shipped spring 1984 with the RX8054 AtariGraphics cartridge; developed for Atari by Steve Gibson of Gibson Laboratories
XG-1 Light gun 1987 Previewed January 1987; bundled with the XE Game System (XE 4001) and Bug Hunt; sold separately as the XES2001 pack from November 1988

The CX75 Light Pen

The CX75 is a slim black pen with a pushable tip switch and a thin cord. Measurements in the Altirra Hardware Reference Manual show how it behaves in practice: the sensor opening is only about 4 mm wide, so it picks up a spot of just one or two colour clocks on a 13-inch monitor, yet it can detect a bright pixel from as far as 10 cm away; dark backgrounds near luminance 2 are not detected at all. Vertical readings are very stable, horizontal readings less so and offset from the true position, so software calibrates. AtariGraphics, Gibson's drawing program, came in the box.

The XG-1 light gun

The grey XG-1 was designed for the XE Game System and came in its main U.S. package, together with Bug Hunt; Atari's other XEGS-era light-gun games included Barnyard Blaster and Crime Buster. It also works on XL/XE computers, and in Chile Atari's importer bundled it with the 65XE. The only other light gun ever made for the 8-bit Ataris was Best Electronics' "The Best" Video Light Gun (1989).

Using them today / Known issues & tips

  • CRT only. Light pens and guns need a cathode-ray tube that scans at the normal 50/60 Hz; they do not work on LCDs or 100/120 Hz CRTs.
  • One at a time. Only one light pen or gun can be used at once, because ANTIC has a single pair of position registers.
  • Atari 400 owners must use controller jack 4; jacks 1–3 on the 400 are not wired to ANTIC's light-pen input. All ports work on the 800, XL and XE.
  • Any trigger counts. Pressing a joystick button on another port also latches a "pen" position, which can confuse light-pen software — unplug other controllers.
  • Software. Pen programs include AtariGraphics, the Programmer's Institute/Futurehouse educational titles, Tech Sketch's Micro Illustrator and Kinderware, Stack's games, Baudville's Blazing Paddles and Antic's Light Pen Doodle (1984).
  • Emulation. Altirra emulates light pens and guns, with calibration tools and adjustable offsets.

Credits