The VIC (Video Interface Chip), specifically known as the
MOS Technology 6560 (
NTSC version) / 6561 (
PAL version), is the
integrated circuit
An integrated circuit (IC), also known as a microchip or simply chip, is a set of electronic circuits, consisting of various electronic components (such as transistors, resistors, and capacitors) and their interconnections. These components a ...
chip responsible for generating video graphics and sound in the
VIC-20 home computer
Home computers were a class of microcomputers that entered the market in 1977 and became common during the 1980s. They were marketed to consumers as affordable and accessible computers that, for the first time, were intended for the use of a s ...
from Commodore. It was originally designed for applications such as low-cost
CRT terminals, biomedical monitors, control system displays and
arcade or home
video game console
A video game console is an electronic device that Input/output, outputs a video signal or image to display a video game that can typically be played with a game controller. These may be home video game console, home consoles, which are generally ...
s.
The chip was designed by Al Charpentier in 1977 but Commodore could not find a market for the chip. In 1979,
MOS Technology began work on a
video chip named ''MOS Technology 6564'' intended for the ''TOI'' computer and had also made some work on another chip, ''MOS 6562'' intended for a color version of the
Commodore PET. Both of these chips failed due to memory timing constraints (both required very fast and thus expensive
SRAM, making them unsuitable for mass production). Before finally starting to use the VIC in the VIC-20, chip designer
Robert Yannes fed features from the 6562 (a better sound generator) and 6564 (more colors) back to the 6560, so before beginning mass production for the VIC-20 it had been thoroughly revised.
Its features include:
* 16 kB address space for screen, character and color memory (only 5 kB points to
RAM on the VIC-20 without a hardware modification)
* 16 colors (the upper 8 can only be used in the global background and auxiliary colors)
* two selectable character sizes (8×8 or 8×16 bits; the pixel width is 1 bit for "hires" characters and 2 bits for "multicolor" characters)
* maximum video resolution depends on the television system (176 × 184 is the standard for the VIC-20 firmware, although up to 248 × 232p/464i is possible on the
NTSC machine and up to 256 × 280 is possible on the
PAL machine
[From ftp://www.zimmers.net/pub/cbm/documents/chipdata/VIC-I.txt])
* 4 channel
sound system (3 square wave + "white" noise + global volume setting)
* on-chip
DMA
* two 8-bit
analog-to-digital converter
In electronics, an analog-to-digital converter (ADC, A/D, or A-to-D) is a system that converts an analog signal, such as a sound picked up by a microphone or light entering a digital camera, into a Digital signal (signal processing), digi ...
*
light pen support
Unlike many other video circuits of the era, it does not offer
dynamic RAM refresh capabilities. Thus the VIC-20 employed the more expensive static RAM (SRAM) chips. This is likely the reason why the machine was sold with just 5 KB of RAM. Memory expansions for the VIC-20 either used SRAM as well or implemented their own refresh circuit.
The VIC was programmed by manipulating its 16
control registers, memory mapped to the
memory address range $9000–$900F in the VIC-20 address space. The on-chip A/D converters were used for dual
paddle position readings by the VIC-20, which also used the VIC's
light pen facility. The VIC preceded the much more advanced
VIC-II, used by the VIC-20's successors, the
C64 and
C128.
VIC-20s with expansion RAM have their video memory (550 bytes) at $1000 and when it is not present, $1E00. User-defined
character set
Character encoding is the process of assigning numbers to graphical characters, especially the written characters of human language, allowing them to be stored, transmitted, and transformed using computers. The numerical values that make up a c ...
s must be placed within the first 5k of system RAM. The default
PETSCII character ROM is at $8000 and each character takes 8 bytes to store. Up to 128 characters may be used at any one time. While the PET had a backslash (\) in its character set, this was replaced on the VIC-20 (and all subsequent Commodore machines) with a British pound sign (£).
Programmable characters are the only way of creating graphics and animation on the VIC as the chip does not have sprites or an all-points-addressable bitmap mode. Of the 16 colors in the palette, eight may be used for the foreground (per the color RAM at $9400) and border while the others are limited to the background and auxiliary multicolors. The MSB of the color RAM is a flag used to indicate if that character is multicolor or high resolution. Due to the extreme blockiness of the former, most VIC-20 games use hires characters.
The VIC does not support scrolling or raster interrupts like on the VIC-II, but the scanline counters could be polled for a specific point on the screen to produce raster effects. This feature was rarely used in games except for a few titles like Imagic's
Demon Attack.
Sound programming on the VIC is done by placing a frequency value in one of the four registers at $900A-$900D (they are turned off by writing a zero to them). The first three are square wave generators pitched half an octave from each other and the fourth is for white noise.
Registers
The VIC has 16 read/write registers listed below:
Color palette
The full palette of sixteen colors was generated based on variations of
YPbPr signals:
Note: Y has 5 possible values (0, 0.25, 0.5, 0.75 and 1); Pb and Pr have 7 possible values (-0.9238795, −0.7071068, −0.3826834, 0, 0.3826834, 0.7071068, 0.9238795)
VIC IC list
*MOS Technology 6560
NTSC
*MOS Technology 6561E
PAL Ceramic version, used in early VIC-20's
*MOS Technology 6561-101
PAL
See also
*
Video Display Controller
*
Motorola 6847
*
List of home computers by video hardware
*
MOS VIC-II as used in the
Commodore 64
References
* Bagnall, Brian (2005). ''On The Edge: The Spectacular Rise and Fall of Commodore''. Variant Press. .
;Specific
External links
VIC Chip info from Rick Melick's VIC-20 Tribute PageMOS VIC datasheet (GIF format, zipped)
{{MOS Video/Sound
MOS Technology integrated circuits
Graphics chips
Sound chips
VIC-20