World Library  
Flag as Inappropriate
Email this Article

MOS Technology VIC

Article Id: WHEBN0000302670
Reproduction Date:

Title: MOS Technology VIC  
Author: World Heritage Encyclopedia
Language: English
Subject: MOS Technology VIC-II, MOS Technology, MOS Technology SID, 2D computer graphics, List of home computers by video hardware
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

MOS Technology VIC

Pinout diagram of the 6560 version of the MOS VIC chip. This circuit was packaged in a standard 40-pin DIP casing.

The VIC (Video Interface Chip), specifically known as the MOS Technology 6560 (NTSC version) / 6561 (PAL version), is the integrated circuit chip responsible for generating video graphics and sound in the Commodore VIC-20 home computer. It was originally designed for applications such as low cost CRT terminals, biomedical monitors, control system displays and arcade or home video game consoles.

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 at least 224 × 256 is possible on the PAL machine)
  • 4 channel sound system (3 square wave + "white" noise + global volume setting)
  • on-chip DMA
  • two 8-bit A/D converters
  • 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 chips; but with the low RAM capacity of that machine, just 5 KB in the main box, that didn't matter too much. 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 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 sets 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:

Register Hexadecimal Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0
9000
Interlace
Horizontal origin
1
9001
Vertical origin
2
9002
VA9
Number of columns
3
9003
R0
Number of rows
8/16
4
9004
Raster line (bits 8-1)
5
9005
Video addr (bits 13-10)
Char addr (bits 13-10)
6
9006
Light pen horizontal
7
9007
Light pen vertical
8
9008
Paddle X
9
9009
Paddle Y
10
900A
enable
Oscillator 1 frequency
11
900B
enable
Oscillator 2 frequency
12
900C
enable
Oscillator 3 frequency
13
900D
enable
White noise frequency
14
900E
Aux color
Volume
15
900F
Background
RV
Border

VIC IC list

  • MOS Technology 6560 NTSC
  • MOS Technology 6561E PAL Ceramic version, used in early VIC-20's
  • MOS Technology 6561-101 PAL

References

  • Bagnall, Brian (2005). On The Edge: The Spectacular Rise and Fall of Commodore. Variant Press. ISBN 0-9738649-0-7.

See also

External links

  • VIC Chip info from Rick Melick's VIC-20 Tribute Page
  • More info, incl register usage
  • MOS VIC datasheet (GIF format, zipped)
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 



Copyright © World Library Foundation. All rights reserved. eBooks from World eBook Library are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.