The Television Interface Adaptor (TIA) is the custom computer chip which, along with a variant of the MOS Technology 6502, constitutes the heart of the 1977 Atari Video Computer System game console. The TIA generates the screen display, sound effects, and reads the controllers. At the time the Atari VCS was designed, even small amounts of RAM were expensive. The chip was designed without the extra circuitry of a framebuffer, instead requiring detailed programming to create even a simple display. Development of the CO10444/CO11903 TIA was led by Jay Miner, who continued at Atari expanding on the design of the TIA for the Atari 8-bit computers with the ANTIC, CTIA/GTIA and POKEY chips which allow for more graphical and sound capabilities. Miner later led the design of the custom chips for the Amiga computer.
Design
Background Around 1975, Atari's engineers at Cyan Engineering led by Steve Mayer and Ron Milner had been considering alternatives to the development dedicated hardware such as application-specific integrated circuits (ASIC) for arcade video games and home video game consoles. Programmable microprocessors had reached the market, but Atari considered them too expensive for a home application. They were limited by cost in options for displaying graphics. At this point in time, most computer graphics were generated by using sprites drawn atop a playfield, which then were translated into an analog signal for display on a CRT Sprites would be held as a bitmap in a framebuffer, requiring random-access memory (RAM). RAM was still expensive, costing tens of thousands of dollars per megabyte., and to display a two-color playfield on an 80×48 display would have cost thousands of dollars in memory. On a conventional NTSC color television, maximum resolutions generally fell between 256 and 320 pixels per line, and 192 to 240 lines per screen. In September 1975, MOS Technology introduced the 6502 microprocessor, one of the first low-cost microprocessors on the market. Mayer and Milner arranged to speak to the chip's designer, Chuck Peddle, on using the 6502 as the basis for their programmable video game console. Over the course of a couple of days, the basic design of the Atari VCS was laid out, with Peddle offering Atari the use of the lower-cost MOS Technology 6507 processor and the MOS Technology 6532 RAM-I/O-Timer (RIOT) as the core of the design. Using a breadboard prototype for the display adapter atop a 6502 testbed system, Milner was able to demonstrate the ability to program a simple version of their Tank game. Joe Decuir was hired on to help convert Milner's proof-of-concept to a functional prototype, sufficient for Atari to give the go-ahead for the development to continue. While Decuir worked on the design of the rest of the system, Jay Miner focused on making an ASIC for the display adapter. Early on, the ASIC display adapter was named the Television Interface Adaptor (TIA). The cost of RAM remained high as the team began its design, and thus the option to use memory-based framebuffers was dropped from the TIA's design.
RAM-less design Due to the lack of RAM, the TIA differs from the conventional framebuffer in that using the TIA, the screen is composed by manipulating five movable graphic objects (2 players, 2 missiles and 1 ball) and a static playfield object. These are all generated on every scan line from their respective registers, unlike the technique used in a framebuffer-mapped model, requiring the program to update these on every scan line. Horizontal resolution is not uniform, as its size depends on the particular graphics object. The smallest unit of pixel corresponds to 1 color clock cycle of the chip, of which there are 160 visible ones on a line. The Playfield object consists of a two-and-a-half byte register (20 bits wide), which can be reflected symmetrically or copied as-is to the right half of the screen for 40 bits in total (each bit being 4 color cycles wide). The color that was drawn if the bit was a 1 or a 0 was selected from a pre-defined palette of up to 128 colors (see below) and held in other registers. The TIA also supported five separate graphics objects consisting of:
Two 8-pixel horizontal lines which make up the 'sprites' Player 1 and Player 2. These are single color, can be reversed ("flipped"), stretched by a factor of 2 or 4, and duplicated or triplicated. A 'ball' - a horizontal line that is the same color as the playfield. It can be one, two, four, or eight pixels wide. Two 'missiles' - another horizontal line that is the same color as its respective player. It can be one, two, four, or eight pixels wide. Without RAM-based framebuffers, collision detection is also complicated. The TIA has hardware collision detection for all of these objects through the use of 15 set/reset flip-flops 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 also provides two channels of one-bit sound. Each channel provides for 32 pitch values and 16 possible bit sequences. There is a 4 bit volume control. Lastly, the TIA has inputs for reading up to four analog paddle controllers using potentiometers and for two joystick triggers.
… excerpt ends here. Continue reading the full article.



