The Wayback Machine - https://web.archive.org/web/20160305010645/http://www.atari8.com/node/31

1.11) What are the 6502, ANTIC, CTIA/GTIA, POKEY, and FREDDIE chips?

Subject: 1.11) What are the 6502, ANTIC, CTIA/GTIA, POKEY, and FREDDIE chips?

Some of the following text is taken from De Re Atari (Atari#APX-90008), a book
published by Atari through the Atari Program Exchange (APX) and copyright 1982
by Chris Crawford, et al. See http://www.atariarchives.org/dere/ where the
full text of De Re Atari is now available online.

The internal layout of the Atari 8-bit computer is very different from other
systems. It of course has a microprocessor (a 6502), RAM, ROM, and a PIA.
However, it also has three special-purpose (LSI) chips known as ANTIC, GTIA,
and POKEY. These chips were designed by Atari engineers primarily to take
much of the burden of housekeeping off of the 6502, thereby freeing the 6502
to concentrate on computations. While they were at it, they designed a great
deal of power into these chips. Each of these chips is almost as big (in terms
of silicon area) as a 6502, so the three of them together provide a tremendous
amount of power. Mastering the Atari 8-bit computers is primarily a matter of
mastering these three chips.

6502 Central Processing Unit (CPU)
====
While the 400/800 models contain a generic 6502B CPU (a faster version of the
original 6502A microprocessor), all of the XL/XE models contain Atari's
customized 6502C chip.

On the Atari, there are two microprocessors, ANTIC and the 6502. To allow
them to coexist, ANTIC must shut off the 6502, a process called DMA. The
6502B supports DMA, but in Atari's implementation, it required 4 chips. The
6502C has an extra line called HALT. It is controlled by ANTIC which uses it
whenever it needs the data/address bus. The HALT line is on pin 35 of the
Atari 6502C and must be pulled high for the chip to work.

ANTIC
=====
ANTIC ("Alpha-Numeric Television Interface Circuit") is a microprocessor
dedicated to the television display. It is a true microprocessor; it has an
instruction set, a program (called the display list), and data. The display
list and the display data are written into RAM by the 6502. ANTIC retrieves
this information from RAM using direct memory access (DMA). It processes the
higher level instructions in the display list and translates these
instructions into a real-time stream of simple instructions to GTIA.

Frank Schuster writes (6/1/02):
the patent for the ANTIC processor:

U.S. Patent 4,296,476 October 20, 1981 for a "Data processing system wit
h
programmable graphics generator". Inventors listed: Steven T. Mayer; Jay
G. Miner; Douglas G. Neubauer; Joseph C. Decuir

CTIA/GTIA
=========
CTIA ("Color Television Interface Adapter") / GTIA ("George's Television
Interface Adapter") is a television interface chip. ANTIC directly controls
most of GTIA's operations, but the 6502 can be programmed to intercede and
control some or all of GTIA's functions. GTIA converts the digital commands
from ANTIC (or the 6502) into the signal that goes to the television. GTIA
also adds some factors of its own, such as color values, player-missile
graphics, and collision detection.

Early 400/800 models included CTIA, later 400/800 models and all later 8-bit
Ataris included GTIA.

In BASIC, type POKE 623,64 [RETURN] and if the screen blackens, you have the
GTIA chip. If it stays blue, you have the old CTIA chip.

By the way, apparently no CTIA-equipped Ataris were shipped to Europe.

Clay Halliwell provides this tidbit:
A bit of trivia: CTIA 400/800s artifact in blue/green, GTIA 400/800s
artifact in green/blue, and all XL/XEs artifact in red/blue.

Jerry Jessop explains why French Ataris produce fewer colors:
I will tell you why it only has monochrome out, because it's SECAM and a
SECAM GTIA was never produced. The PAL GTIA is used in France and the Lum
outputs are run into an onboard encoder to produce a "psudo" color depending
on the Luminance output, composite only. This is why a SECAM VCS or 800 has
nowhere near the same number of colors (16) availible as a PAL or NTSC unit
(256).

The FGTIA was never completed as the market size did not warrant the
expense. The largest SECAM market is not France but the Soviet Union
(former) and in 80-84 sales of these items there were not possible.

Frank Schuster writes (6/1/02):
..here a summary of Atari patents covering technical parts of the GTIA /
CTIA or at least the steps of development to it. I found them by followi
ng
the references made in the "newest" patent 4,324,401 which at the end
stands for the GTIA.

U.S. Patent 4,324,401 April 13, 1982 for a "Method and system for
generating moving objects on a video display screen". Inventors listed:
David R. Stubben, Lyle V. Rains. References: 4,116,444; 4,107,665

U.S. Patent 4,189,728 February 19, 1980 for an "Apparatus for generating
a
plurality of moving objects on a video display screen utilizing
associative memory". Inventor listed: David R. Stubben. References:
4,116,444; 4,045,789

U.S. Patent 4,116,444 September 26, 1978 for a "Method for generating a
plurality of moving objects on a video display screen". Inventors listed
:
Steven T. Mayer; Ronald E. Milner. References: 4,016,362; 3,793,483

U.S. Patent 4,107,665 August 15, 1978 for an "Apparatus for continuous
variation of object size on a raster type video screen". Inventors liste
d:
Steven T. Mayer; Ronald E. Milner

U.S. Patent 4,045,789 August 30, 1977 for a "Animated video image displa
y
system and method". Inventor listed: Stephen D. Bristow. References:
3,793,483

U.S. Patent 4,016,362 April 5, 1977 for a "Multiple image positioning
control system and method". Inventors listed: Stephen D. Bristow; Steven
T. Mayer. References: 3,793,483

U.S. Patent 3,793,483 February 19, 1974 for a "Video Image Control Syste
m
for Amusement Device". Inventor listed: Nolan K. Bushnell
POKEY
=====
POKEY (means "POT and KEY" as in the paddles and keyboard) is a digital
input/output (I/O) chip. It handles such disparate tasks as the serial I/O
bus, audio generation, keyboard scan, and random number generation. It also
digitizes the resistive paddle inputs and controls maskable interrupt (IRQ)
requests from peripherals.

All four of these LSI chips function simultaneously. Careful separation of
their functions in the design phase has minimized conflicts between the chips.
The only hardware level conflict between any two chips in the system occurs
when ANTIC needs to use the address and data buses to fetch its display
information. To do this, it halts the 6502 and takes control of the buses."

The USPTO granted U.S. Patent 4,314,236 to Atari on February 2, 1982 for an
"Apparatus for producing a plurality of audio sound effects" - POKEY.
Inventors listed: Steven T. Mayer, Ronald E. Milner

FREDDIE
=======
The 65XE/130XE/800XE/XEGS contain a small additional LSI called FREDDIE, a RAM
address multiplexer. According to James Bradford, "FREDDIE is a type of
memory controller. It takes the address and clock from the CPU and
multiplexes it with the appropriate timings and signals to use DYNAMIC memory.
FREDDIE also buffers the system clock crystal and divides it down then feeds
that to GTIA. The XEGS has a FREDDIE but it doesn't have the extended RAM.
Even if it did, you would still need the chip that does the REAL bank
switching. It is a small 16-pin chip (Atari/Best Electronics catalog number
CO25953: rev9/page 42). It gets RAS from FREDDIE, the bank select bits from
PIA, A14, A15 and the 6502 halt signal to control which bank of 8 chips RAS
goes to. A14 and A15 then go to FREDDIE for the address range of the extra
memory bank (or normal address range with no bank switching). The ANTIC/6502
select bits in combination with the 6502 halt line, control the switching of
the PIA bank number bits to A14/A15 and which bank of memory RAS goes to. Why
people say FREDDIE does the bank switching is beyond me. An 800XL can look
like a 130XE with that 16-pin chip installed (That's right NO FREDDIE) and an
extra 8 RAM chips."

And more recently James Bradford has written:
FREDDIE is just a memory decoder and timer. It replaces several chips in the
800XL. The small chip near FREDDIE does all the bank selection. CO25953. One
line from FREDDIE, Ras (or is it cas?) goes to this chip, Halt and the bank
/processor select lines go into this same chip and ras (cas?) comes out. A pin
for each bank. If I remember correctly, refresh also goes into this small
chip. It would be quite easy to make an 800XL work just like a 130XE with this
chip since Ras (Cas?) is required by ALL dynamic RAM.
======
Technical data sheets and schematics for the ANTIC, GTIA, and POKEY chips are
available on Curt Vendel's web site, thanks to permission from Hasbro's Atari
Interactive Division's release of this data. See the TIFF scans:
http://www.atari-history.com/articles.html
Keith Howell has converted the hi-res TIFFs into clean HTML:
http://www.howell1964.freeserve.co.uk/Atari/800XL/Atari_800XL.htm

Your Ad Here

User login

Who's online

There are currently 0 users and 0 guests online.