Alphanumeric Television Interface Controller (ANTIC) is an LSI ASIC dedicated to generating 2D computer graphics to be shown on a television screen or computer display. Under the direction of Jay Miner, the chip was designed in 1977–1978 by Joe Decuir, Francois Michel, and Steve Smith for the Atari 8-bit computers first released in 1979. The chip was patented by Atari, Inc. in 1981. ANTIC is also used in the 1982 Atari 5200 video game console, which shares most of the same hardware as the 8-bit computers. For every frame of video, ANTIC reads instructions to define the background graphics (playfield in Atari parlance), then delivers a data stream to the companion CTIA or GTIA chip which adds color and overlays sprites (called player/missile graphics by Atari). Each ANTIC instruction corresponds to either blank scan lines or one of 14 graphics modes used for a horizontal band of the display. The height of each band depends on the mode. The instructions comprise a display list which specifies how the entire display is built from a stack of individual modes. The display list specifies where the data for each row comes from. For character modes, the base address of the character bitmaps is stored in an on-chip register and can be changed. Display list instructions can enable horizontal and vertical fine scrolling and mark that an interrupt should occur. An interrupt allows arbitrary 6502 code to execute, usually to change display-related settings in the middle of a frame. Atari computer magazine Antic was named after the chip.
Features The list below describes ANTIC's inherent hardware capabilities meaning the intended functionality of the hardware by itself, not including results achieved by CPU-serviced interrupts or display kernels frequently driving register changes. ANTIC uses DMA to read a program called the display list which specifies these playfield features:
14 different graphics modes 6 character modes 4 types of font/glyph rendering 8 bitmapped modes Output a variable number of blank scan lines Playfield Text and Map modes can be mixed onscreen Variable screen height up to vertical overscan Horizontal and Vertical coarse scrolling Identify sections of the display subject to Horizontal and/or Vertical Fine scrolling Trigger a CPU-serviced interrupt routine, called the "Display List Interrupt", at specific scan lines (also called "raster interrupt" or "Horizontal Blank Interrupt" on other systems) Trigger a CPU-serviced interrupt routine, called the "Vertical Blank Interrupt", at the end of the display frame. Other register-based functions:
Variable screen width up to horizontal overscan Define the distance of movement for Horizontal and Vertical Fine scrolling Provides real-time information of the electron beam's vertical screen location. Reads a light pen horizontal/vertical coordinates (CRT only) Soft, re-definable character set. Adjustable display of inverse video characters. Characters may be vertically reflected. Control the display-oriented Vertical Blank and Display List interrupts, and the Reset key interrupt. Performs DMA for CTIA/GTIA to produce Player/Missile graphics (aka sprites) Non-fixed RAM. This allows RAM for graphics features to be located almost anywhere in the 16-bit memory address range. This applies to: Display lists. Playfield graphics data Character set fonts Player/Missile graphics data
Versions Listed by part number.
C012296 — NTSC: Used in Atari 400, 800, and 1200XL computers, and the Atari 5200 C014887 — PAL/SECAM: Used in Atari 400 and 800 computers. C021697 — NTSC: Used in Atari 600XL, 800XL, and XE models. C021698 — PAL/SECAM: Used in Atari XL, and XE models. Atari, Inc. intended to combine functions of the ANTIC and GTIA chips in one integrated circuit to reduce production costs of Atari computers and 5200 consoles. Two such prototype circuits were being developed, but neither entered production.
C020577 — CGIA C021737 — KERI
Pinout
Registers The Atari 8-bit computers and the Atari 5200 console map the ANTIC chip to the $D4xxhex page. ANTIC provides 15 Read/Write registers controlling Playfield display parameters, DMA for Player/Missile graphics, fine scrolling, light pen input, and interrupts. Hardware registers do not return the written values back when read. This problem is solved by Operating System Shadow registers implemented in regular RAM as places to store the last value written to registers. Operating System Shadow registers are copied from RAM to the hardware registers during the vertical blank. Therefore, any writes to hardware registers which have corresponding shadow registers will be overwritten by the value of the Shadow registers during the next vertical blank. Some Write hardware registers do not have corresponding Shadow registers. They can be safely written by an application without the value being overwritten during the vertical blank. If the application needs to know the last state of the register then it is the responsibility of the application to remember what it wrote. Operating System Shadow registers also exist for some Read registers where reading the value directly from hardware at an unknown stage in the display cycle may return inconsistent results.
In the individual register listings below the following legend applies:
DMACTL $D400 Write SHADOW: SDMCTL $022F Direct Memory Access (DMA) Control
DMACTL controls ANTIC's DMA behavior for the Playfield and Player-Missile (sprite) graphics. Playfield Width bit values:
Also see Display List DMA bit regarding Playfield display. Player/Missile DMA bits values:
ANTIC's Player/Missile DMA feature reads bytes from memory and delivering data to update CTIA/GTIA's GRAFP0, GRAFP1, GRAFP2, GRAFP3, and GRAFM graphics pattern registers relieving the CPU from creating Player/Missile (sprite) graphics. These bits turn on ANTIC's transmission of Player data and Missile data to CTIA/GTIA. CTIA/GTIA must also be configured to receive the data via its GRACTL register in order for Player/Missile DMA to function as expected. When Player DMA is enabled, Missile DMA automatically occurs to keep the DMA timing consistent, but the data is not delivered to the Missile's GRAFM register. When enabled, Player/Missile DMA occurs on every scan line in the visible display—from scan line 8 to 247. Therefore, the Player/Missile data in the memory map (see ANTIC's PMBASE) above and below those scan line counts is unused and undisplayed. Player/Missile Resolution bit values:
… excerpt ends here. Continue reading the full article.


