CTIA, GTIA and FGTIA

Year
1979
Type
Component
Category
Custom chip — television interface / graphics
Manufacturer
Atari, Inc.
GTIA chip marked C014889-01 on a circuit board

Overview

Where ANTIC decides what to fetch for the screen, the television interface chip decides how it looks. It receives ANTIC's stream of playfield data, looks up the colours in its nine colour registers, overlays the hardware sprites Atari calls player-missile graphics, resolves which object is in front, records collisions between them, and generates the final composite video signal. It also has several unglamorous jobs: reading the four joystick trigger inputs, sensing the START/SELECT/OPTION console keys, and driving the console speaker (internal on the 400/800, mixed into the TV sound on XL/XE).

Three generations exist. CTIA shipped in the earliest NTSC 400/800s. GTIA, designed by George McLeod, replaced it in later 400/800s and every XL/XE, adding three extra graphics modes. FGTIA is the French SECAM variant used in SECAM 800XL, 130XE and XE Game System units. On the names: Atari documents expand them as "Color Television Interface Adaptor" and "Graphics Television Interface Adaptor", with "Colleen" (the 800's code name) and "George's" probably the original meanings.

Specifications

Item Detail
Part numbers CTIA C012295 (NTSC); GTIA C014805 (NTSC), C014889 (PAL); FGTIA C020120 (SECAM)
Address range $D000–$D01F (mirrored through $D0FF)
Colour registers 9: background, playfield 0–3, player/missile 0–3; each = 16 hues × 8 luminances (128 colours)
Player-missile graphics 4 players (8 bits wide) + 4 missiles (2 bits wide), 120 or 240 lines high; missiles can combine into a fifth player; adjustable width, priority and collision detection
Extra GTIA modes Mode 9: 16 shades of one hue (256-colour palette); mode 10: 9 colours from the colour registers; mode 11: 16 hues at one luminance — each 80 pixels across
I/O TRIG0–3 inputs; CONSOL (console keys and speaker); on XL/XE TRIG3 senses an inserted cartridge, and on the XEGS TRIG2 senses the keyboard

History

Atari had the GTIA designed before the 400/800 went on sale, but launched with the CTIA; InfoWorld in March 1982 quoted a software developer's account that Atari had already ordered about 100,000 CTIAs and did not want to waste them. Both the 400/800 OS Rev. A and Atari BASIC were written to be "GTIA-ready" in 1979, so when GTIA machines appeared, BASIC's GRAPHICS 9, 10 and 11 simply started working. The chip was also used in the Atari 5200.

Late in the line's life, a substantial number of XE computers — particularly 800XEs made in China around 1992 — shipped with moderately defective GTIAs. The Polish Atariki wiki documents how to recognise them, and the Simius "GTIA Fixer" board was designed in 2010 as a repair. A rare temperature-dependent fault known as "Delayed GTIA Functions" was described by Pawel Rosowski in 2013.

Using it today / tips

  • Which chip do I have? In BASIC type POKE 623,64. A GTIA or FGTIA blanks the screen (GTIA mode 9 with nothing drawn); a CTIA leaves it blue. 623 is GPRIOR, the OS shadow of the PRIOR register whose top two bits select the GTIA modes.
  • GTIA modes need the hi-res ANTIC modes. They only work fully on ANTIC modes 2, 3 and F; on a CTIA the PRIOR bits are ignored and you get plain ANTIC mode F.
  • FGTIA differences. In mode 9 the FGTIA shows only 8 luminances instead of 16, and it latches the trigger inputs only at the start of horizontal blank. Not every SECAM machine actually contains an FGTIA — some use the PAL GTIA.
  • Clear the registers at startup. Several GTIA registers come up with random-looking values after power-on, so software should initialise them rather than assume zeros.
  • Upgrades. Video enhancements such as VBXE work alongside or in place of the GTIA socket; see the modern-hardware entries for details.

Credits