CTIA / GTIA Pinout Diagram


gtia.gif

A vector graphic pinout is also available in Encapsulated PostScript format.

Key

The ANTIC input data is interpreted as follows:

AN2AN1AN0
0 0 0 Background color
0 0 1 Vertical sync
0 1 0 Horizontal blank; clear 40 character mode
0 1 1 Horizontal blank; set 40 character mode
CTIA modeGTIA mode
1 0 0 Playfield 0 Even: D3=AN1, D2=AN0
Odd: D1=AN1, D0=AN0
Color defined by D3-D0 is displayed
after every two color clocks
1 0 1 Playfield 1
1 1 0 Playfield 2
1 1 1 Playfield 3

In the GTIA modes, it takes two clock cycles to load all 4 bits of data for each pixel. GTIA will load the first two bits during one clock, and the next two bits at the second clock. In 16-luminance or 16-color modes, the reconstituted value is OR'ed with the background color to get the final pixel color. In 9-color mode, the reconstituted value indexes the color value to use (see GTIA Mode).

When DMA'ing player/missile data, the CTIA/GTIA chip passively looks at the data bus during horizontal blank. It is up to ANTIC to address player/missile data in main memory (i.e., ANTIC sets the address bus, but GTIA reads the data bus.). The timing is as follows: during horizontal blank, ANTIC asserts HALT on the GTIA chip at clock T0. (This also suspends the CPU so that ANTIC can access memory.) At T1 (the next clock cycle), missile data for the current line is read (on lines D7-D0). Nothing happens at T2. During T3-T6, data for players 0-3 are read in turn.

The effect of the DEL output pin is to delay the leading edge of the chrominance signal, thus effecting a specific color (see video notes.) The specific delay is engineered to be 146+21C nanoseconds, where C is a non-zero color value. Since the chrominance signal has a wavelength of 279.3 ns, this gives us the phase offset as 188.18º+27.06ºC. Yes, this covers a range >360º, but you'll notice there is an overlap in the color table (yellow is near colors 1 and 14).

Note: The information here is more fully documented in Atari's technical documents.


Back to Atari page Back to Atari Technical Information page