Television Interface Adapter
|
The Television Interface Adapter (TIA) is the custom chip that is the heart of the Atari 2600 games console and was created by Jay Miner of Amiga fame.
The TIA is responsible for generating the picture on the television set as well as providing access to features in hardware for the purpose of generating the game graphics. Due to the cost of memory at the time TIA has no specific Video RAM and only generates a single line of video at a time. The video is created from data in registers that control a background colour, a playfield made up of a small amount of pixel data which is stretched across half the video line and may be duplicated or mirrored across the other half and 5 graphics objects consisting of:
- Two 8-pixel lines which make up the 'sprites' Player 1 and Player 2 - these sprites may be stretched by a factor of 2 or 4.
- A 'ball' - essentially lines of different lengths
- Two 'missiles' - essentially lines of different lengths
The TIA has hardware collision detection for all of these objects and stores a bitmap of collisions, that are typically read during the VBLANK period. Registers in the TIA allow the programmer to control the positioning of the graphical objects and their color.
The TIA is also responsible for generating two channels of sound from which the programmer can control pitch, volume and type of sound generated.
Lastly the TIA has inputs for reading an analogue joystick that uses a potentiometer and for joystick triggers.
Programming for the TIA is very hard work. Such huge limitations as the lack of a framebuffer, and the fact that 3 pixels clocks elapse for every CPU clock make life hard for the programmer, but also present a real challenge which many homebrew programmers enjoy.
Atari later expanded on the design of the TIA for the Atari 400 and Atari 800 with the Color Television Interface Adapter, and again with George's Television Interface Adapter.