All Topics  
MOS Technology VIC-II

 
MOS Technology VIC II

   Email Print
   Bookmark   Link






 

MOS Technology VIC-II



 
 
The VIC-II (Video Interface Chip II), specifically known as the MOS Technology
MOS Technology

MOS Technology, Inc., also known as CSG , was a integrated circuit design and Semiconductor device fabrication company based in Norristown, Pennsylvania, in the United States....
 6567/8562/8564 (NTSC
NTSC

NTSC is the analog television system used in most of the Americas, Japan, South Korea, Taiwan, the Philippines, Burma, and some Pacific island nations and territories ....
 versions), 6569/8565/8566 (PAL
PAL

PAL, short for Phase Alternating Line, is a color-encoding system used in broadcast television systems in large parts of the world. Other common analog television systems are SECAM and NTSC....
), is the microchip
Integrated circuit

In electronics, an integrated circuit is a miniaturized electronic circuit that has been manufactured in the surface of a thin Wafer of semiconductor material....
 tasked with generating Y/C
S-Video

Separate Video, more commonly known as S-Video, and sometimes incorrectly referred to as "Super Video" and also known as Y/C, is an analog signal video signal that carries the video data as two separate signals, lumen and chroma ....
/composite video
Composite video

Composite video is the format of an analog television signal before it is combined with a sound signal and modulation onto an Radio Frequency carrier wave....
 graphics and DRAM
Dynamic random access memory

Dynamic random access memory is a type of random access memory that stores each bit of data in a separate capacitor within an integrated circuit....
 refresh
Memory refresh

Memory refresh is the process of periodically reading information from an area of computer memory, and immediately rewriting the read information to the same area with no modifications....
 signals in the Commodore 64
Commodore 64

The Commodore 64 is an 8-bit home computer released by Commodore International in August, 1982, at a price of United States dollar595. Preceded by the Commodore VIC-20 and Commodore MAX Machine, the C64 features 64 kilobytes of Random-access memory with sound and graphics performance that were superior to IBM-compatible computers of tha...
 and C128
Commodore 128

The Commodore 128 home computer/personal computer was the last 8-bit machine commercially released by Commodore International . Introduced in January of 1985 at the Consumer Electronics Show in Las Vegas metropolitan area, it appeared three years after its predecessor, the bestselling Commodore 64....
 home computer
Home computer

A home computer was a class of personal computer entering the market in 1977 and becoming common during the 1980s. They were marketed to consumers as accessible personal computers, more capable than video game consoles....
s.

Succeeding MOS's original VIC
MOS Technology VIC

The VIC , specifically known as the MOS Technology 6560 / 6561 , is the integrated circuit chip responsible for generating video graphics and sound in the Commodore VIC-20 home computer....
 (used in the VIC-20
Commodore VIC-20

The VIC-20 is an 8-bit home computer which was sold by Commodore International. The VIC-20 was announced in 1980, roughly three years after Commodore's first personal computer, the Commodore PET....
), the VIC-II was one of the two chips mainly responsible for the C64's success as the best-selling computer model of all time (the other chip being the 6581 SID
MOS Technology SID

The MOS Technology 6581/8580 SID was the built-in Programmable Sound Generator chip of Commodore International's Commodore CBM-II, Commodore 64, Commodore 128 and Commodore MAX Machine home computers....
).

Development history
The VIC-II chip was designed primarily by Al Charpentier and Charles Winterble at MOS Technology, Inc.
MOS Technology

MOS Technology, Inc., also known as CSG , was a integrated circuit design and Semiconductor device fabrication company based in Norristown, Pennsylvania, in the United States....
 as a successor to the MOS Technology 6560 "VIC"
MOS Technology VIC

The VIC , specifically known as the MOS Technology 6560 / 6561 , is the integrated circuit chip responsible for generating video graphics and sound in the Commodore VIC-20 home computer....
.






Discussion
Ask a question about 'MOS Technology VIC-II'
Start a new discussion about 'MOS Technology VIC-II'
Answer questions from other users
Full Discussion Forum



Encyclopedia


The VIC-II (Video Interface Chip II), specifically known as the MOS Technology
MOS Technology

MOS Technology, Inc., also known as CSG , was a integrated circuit design and Semiconductor device fabrication company based in Norristown, Pennsylvania, in the United States....
 6567/8562/8564 (NTSC
NTSC

NTSC is the analog television system used in most of the Americas, Japan, South Korea, Taiwan, the Philippines, Burma, and some Pacific island nations and territories ....
 versions), 6569/8565/8566 (PAL
PAL

PAL, short for Phase Alternating Line, is a color-encoding system used in broadcast television systems in large parts of the world. Other common analog television systems are SECAM and NTSC....
), is the microchip
Integrated circuit

In electronics, an integrated circuit is a miniaturized electronic circuit that has been manufactured in the surface of a thin Wafer of semiconductor material....
 tasked with generating Y/C
S-Video

Separate Video, more commonly known as S-Video, and sometimes incorrectly referred to as "Super Video" and also known as Y/C, is an analog signal video signal that carries the video data as two separate signals, lumen and chroma ....
/composite video
Composite video

Composite video is the format of an analog television signal before it is combined with a sound signal and modulation onto an Radio Frequency carrier wave....
 graphics and DRAM
Dynamic random access memory

Dynamic random access memory is a type of random access memory that stores each bit of data in a separate capacitor within an integrated circuit....
 refresh
Memory refresh

Memory refresh is the process of periodically reading information from an area of computer memory, and immediately rewriting the read information to the same area with no modifications....
 signals in the Commodore 64
Commodore 64

The Commodore 64 is an 8-bit home computer released by Commodore International in August, 1982, at a price of United States dollar595. Preceded by the Commodore VIC-20 and Commodore MAX Machine, the C64 features 64 kilobytes of Random-access memory with sound and graphics performance that were superior to IBM-compatible computers of tha...
 and C128
Commodore 128

The Commodore 128 home computer/personal computer was the last 8-bit machine commercially released by Commodore International . Introduced in January of 1985 at the Consumer Electronics Show in Las Vegas metropolitan area, it appeared three years after its predecessor, the bestselling Commodore 64....
 home computer
Home computer

A home computer was a class of personal computer entering the market in 1977 and becoming common during the 1980s. They were marketed to consumers as accessible personal computers, more capable than video game consoles....
s.

Succeeding MOS's original VIC
MOS Technology VIC

The VIC , specifically known as the MOS Technology 6560 / 6561 , is the integrated circuit chip responsible for generating video graphics and sound in the Commodore VIC-20 home computer....
 (used in the VIC-20
Commodore VIC-20

The VIC-20 is an 8-bit home computer which was sold by Commodore International. The VIC-20 was announced in 1980, roughly three years after Commodore's first personal computer, the Commodore PET....
), the VIC-II was one of the two chips mainly responsible for the C64's success as the best-selling computer model of all time (the other chip being the 6581 SID
MOS Technology SID

The MOS Technology 6581/8580 SID was the built-in Programmable Sound Generator chip of Commodore International's Commodore CBM-II, Commodore 64, Commodore 128 and Commodore MAX Machine home computers....
).

Development history


The VIC-II chip was designed primarily by Al Charpentier and Charles Winterble at MOS Technology, Inc.
MOS Technology

MOS Technology, Inc., also known as CSG , was a integrated circuit design and Semiconductor device fabrication company based in Norristown, Pennsylvania, in the United States....
 as a successor to the MOS Technology 6560 "VIC"
MOS Technology VIC

The VIC , specifically known as the MOS Technology 6560 / 6561 , is the integrated circuit chip responsible for generating video graphics and sound in the Commodore VIC-20 home computer....
. The team at MOS Technology had previously failed to produce two graphics chips named MOS Technology 6562 for the Commodore TOI computer, and MOS Technology 6564 for the Color PET, due to memory speed constraints.

In order to construct the VIC-II, Charpentier and Winterble made a market survey of current home computer
Home computer

A home computer was a class of personal computer entering the market in 1977 and becoming common during the 1980s. They were marketed to consumers as accessible personal computers, more capable than video game consoles....
s and video games, listing up the current features, and what features they wanted to have in the VIC-II. The idea of adding sprites came from the Texas Instruments TI-99/4A
Texas Instruments TI-99/4A

The Texas Instruments TI-99/4A was an early home computer, released in June 1981, originally at a price of United States dollar $525. It was an enhanced version of the less-successful—and quite rare—TI-99/4 model, which was released in late 1979 at a price of $1,150....
 computer and its TMS9918
Texas Instruments TMS9918

The TMS9918 is a Video Display Controller manuafactured by Texas Instruments....
 graphics coprocessor
Video Display Controller

A Video Display Controller or VDC is an integrated circuit which is the main component in a video signal generator, a device responsible for the production of a Television Composite video in a computing or game system....
. About 3/4 of the chip surface is used for the sprite functionality.

The chip was partly laid out using electronic design automation
Electronic design automation

Electronic Design Automation is the category of tools for designing and producing electronic systems ranging from printed circuit boards to integrated circuits....
 tools from Applicon (now a part of UGS Corp.
UGS Corp.

UGS was a computer software company specializing in 3D & 2D Product Lifecycle Management software. Siemens AG completed its $3.5 billion acquisition of UGS on May 7 2007....
), and partly laid out manually on vellum paper. The design was partly debugged by fabricating chips containing small subsets of the design, which could then be tested separately. This was easy since MOS Technology had both its research and development
Research and development

The phrase research and development , according to the Organization for Economic Co-operation and Development, refers to "creative work undertaken on a systematic basis in order to increase the stock of knowledge, including knowledge of man, culture and society, and the use of this stock of knowledge to devise new applications [sic]" ...
 lab and semiconductor plant at the same location.

The work on the VIC-II was completed in November 1981 while Robert Yannes was simultaneously working on the SID
MOS Technology SID

The MOS Technology 6581/8580 SID was the built-in Programmable Sound Generator chip of Commodore International's Commodore CBM-II, Commodore 64, Commodore 128 and Commodore MAX Machine home computers....
 chip. Both chips, like the Commodore 64
Commodore 64

The Commodore 64 is an 8-bit home computer released by Commodore International in August, 1982, at a price of United States dollar595. Preceded by the Commodore VIC-20 and Commodore MAX Machine, the C64 features 64 kilobytes of Random-access memory with sound and graphics performance that were superior to IBM-compatible computers of tha...
, were finished in time for the Consumer Electronics Show
Consumer Electronics Show

The International Consumer Electronics Show is a trade show held each January in Las Vegas, Nevada, Nevada, and is sponsored by the Consumer Electronics Association....
 in the first weekend of January 1982.

VIC-II features


  • 16 KiB address space for screen, character and sprite memory
  • 320 × 200 pixels video resolution (160 × 200 in multi-color mode)
  • 40 × 25 characters text resolution
  • three character display modes and two bitmap modes
  • 16 colors
  • concurrent handling of 8 sprites per scanline, each of 24 × 21 pixels (12 × 21 multicolor)
  • raster interrupt (see details, below)
  • smooth scrolling
  • independent dynamic RAM refresh
  • bus mastering for a 6502-style system bus
    Computer bus

    In computer architecture, a bus is a subsystem that transfers data between computer components inside a computer or between computers. Each bus defines its set of connectors to physically plug devices, cards or cables together....
    ; CPU and VIC-II accessing the bus during alternating half-clock cycles (the VIC-II will halt the CPU when it needs extra cycles)


Technical details


Programming

Supratechnic Demo
The VIC-II was programmed by manipulating its 47 control registers (up from 16 in the VIC), memory mapped to the range $D000–$D02E in the C64 address space. Of all these registers, 34 dealt exclusively with sprite control (sprites being called MOBs, from Movable Object Blocks, in the VIC-II documentation). Like its predecessor, the VIC-II handled light pen
Light pen

A light pen is a computer input device in the form of a light-sensitive wand used in conjunction with a computer's cathode ray tube TV set or Computer display....
 input, and, with help from the C64s standard character ROM, provided the original PETSCII
PETSCII

PETSCII , also known as CBM ASCII, is the variation of the ASCII character set used in Commodore International's 8-bit home computers, starting with the Commodore PET from 1977 and including the Commodore VIC-20, Commodore 64, Commodore CBM-II, Commodore Plus/4, Commodore 16, Commodore 116 and Commodore 128....
 character set from 1977 on a similarly dimensioned display as the 40-column PET
Commodore PET

The PET was a home computer-/personal computer produced by Commodore International starting in 1977. Although it was not a top seller outside the Canadian, US, and UK educational markets, it was Commodore's first full-featured computer and would form the basis for their future success....
 series, allowing some degree of PET BASIC program emulation on the C64.

By reloading the VIC-II's control registers via machine code hooked into the raster interrupt
Raster interrupt

A raster interrupt is a computer interrupt signal that is utilized for display timing purposes. It is usually, though not always, generated by the system's Graphics processing unit....
 routine (the scanline interrupt), one could program the chip to generate significantly more than 8 concurrent sprites (a process known as sprite multiplexing), and generally give every program-defined slice of the screen different scrolling, resolution and color properties. The hardware limitation of 8 sprites per scanline could be increased further by letting the sprites flicker rapidly on and off. Mastery of the raster interrupt was essential in order to unleash the VIC-II's capabilities. Many demo
Demo (computer programming)

A demo is a non-interactive multimedia presentation made within the computer subculture known as the demoscene. Demogroups create demos to demonstrate their abilities in programming, music, drawing, and 3D modeling....
s and some later games would establish a fixed "lock-step" between the CPU and the VIC-II so that the VIC registers could be manipulated at exactly the right moment.

Colors

In multicolor bitmap mode (160×200 pixels, which most games used) characters had 4×8 pixels (the characters were still square since the pixels were double width) and 4 colors out of 16 colors. The 4th color was the same for the entire screen (the background color), while the other 3 could be set individually for every such 4×8 pixel area. Two colors were loaded from the active text screen, and the third was loaded from color RAM. Sprites in multicolor mode (12×21 pixels) had three colors: two shared among all sprites and one individual. The artist had to pick shared colors such that the combination with individual colors lead to a colorful impression. Some games reloaded shared colors during the raster interrupt; for example, the game Turrican
Turrican

Turrican is a 1990 in video gaming video game game programming by Manfred Trenz. It was first developed for the Commodore 64 by Rainbow Arts, but was porting to other systems later....
 II
's underwater area (which was vertically distinct) had different colors. Others, such as Epyx
Epyx

Epyx, Inc. was a video game video game developer and video game publisher in the late 1970s and entire 1980s. The company was founded as Automated Simulations by Jim Connelley and Jon Freeman, originally using Epyx as a brand name for action-oriented games before renaming the company to match in 1983....
's Summer Games
Summer Games

Summer Games is a sports video game developed by Epyx and released by U.S. Gold based on sports featured in the Summer Olympic Games. Released in 1984 for the Commodore 64, it was also eventually ported to the Apple II, Atari 2600, Atari 7800, Atari 8-bit family and Sega Master System platforms....
 and COMPUTE!'s Gazette
COMPUTE!'s Gazette

COMPUTE!'s Gazette was a computer magazine of the 1980s, directed at users of Commodore International's 8-bit home computers. Publishing its first issue in July 1983, the Gazette was a Commodore-only daughter magazine of the computer hobbyist magazine COMPUTE!....
s
Basketball Sam & Ed, overlaid two high-resolution sprites to allow two foreground colors to be used without sacrificing horizontal resolution . Of course, this technique reduced the number of available sprites by half.

On PAL
PAL

PAL, short for Phase Alternating Line, is a color-encoding system used in broadcast television systems in large parts of the world. Other common analog television systems are SECAM and NTSC....
 C64s, the PAL delay line
Delay line

The term delay line has multiple meanings:* In electronics and derivative fields such as telecommunications, a delay line is a device where the input signal reaches the output of the device after a known period of time has elapsed....
 in the monitor or TV which averages the color hue
Hue

Hue is one of the main properties of a color described with names such as "red", "yellow", etc. The two other main properties are lightness and colorfulness....
, but not the brightness, of consecutive screen lines can be (ab)used to create seven nonstandard colors by alternating screen lines showing two colors of identical brightness. There are seven such pairs of colors in the VIC chip.

The C64's team did not spend much time on mathematically computing the 16 color palette. Robert Yannes, who was involved with the development of the VIC-II, said:
I'm afraid that not nearly as much effort went into the color selection as you think. Since we had total control over hue, saturation and luminance, we picked colors that we liked. In order to save space on the chip, though, many of the colors were simply the opposite side of the color wheel from ones that we picked. This allowed us to reuse the existing resistor values, rather than having a completely unique set for each color.


The 1993 game
Mayhem in Monsterland is the best example of what can be done if you use the VIC-IIs features to the maximum. It uses linewise PAL-colorblending, color interlace, a nonstandard way to achieve very fast scrolling and very sophisticated and extremely colorful character-based graphics and very well drawn sprites, some even with hires overlays, to achieve a level of graphical quality that was comparable to 16 bit machines of the era.

The VIC-II E

The 8564/8566 VIC-II E in the Commodore 128 used 48 pins and had two extra registers, one for accessing the added numerical keypad and other extra keys of that computer, and the other for toggling between a 1 MHz and a 2 MHz system clock; at the higher speed the VIC-II's video output is merely displaying every second byte in the code as black hires bitpattern on the screen, suggesting use of the C128's 80-column mode at that speed (via the 8563 VDC
MOS Technology 8563

The 8563 Video Display Controller was an integrated circuit produced by MOS Technology. It was used in the Commodore 128 computer to generate an 80-column RGB video display....
 RGB chip). Rather unofficially, the two extra registers were also available in the C128's C64 mode, permitting some use of the extra keys, as well as double-speed-no-video execution of CPU-bound
CPU bound

In computer science, CPU bound is when the time for a computer to complete a task is determined principally by the speed of the Central processing unit: processor utilization is high, perhaps at 100% usage for many seconds or minutes....
 code (i.e. numerical calculations) in self-made C64 programs. The extra registers were also one source of minor incompatibility between the C128's C64 mode and a real C64; probably more than half of the few C64 programs that don't run on the C128 erroneously access these registers.

The VIC-II E has the little-known ability to create an additional set of colors by manipulating the registers in a specific way that puts the color signal out of phase with what other parts of the chip consider it to be in.

List of VIC-II versions

Vic Ii
  • PAL
    PAL

    PAL, short for Phase Alternating Line, is a color-encoding system used in broadcast television systems in large parts of the world. Other common analog television systems are SECAM and NTSC....
    • MOS Technology 6569 – (PAL-B)
    • MOS Technology 6572 – (PAL-N)
    • MOS Technology 6573 – (PAL-M)
    • MOS Technology 8565 – HMOS-II version for "C64E" motherboards
    • MOS Technology 8566 – VIC-II E (PAL-B) C128 version
    • MOS Technology 8569 – VIC-II E (PAL-N) C128 version


  • NTSC
    NTSC

    NTSC is the analog television system used in most of the Americas, Japan, South Korea, Taiwan, the Philippines, Burma, and some Pacific island nations and territories ....
    • MOS Technology 6566 – designed for SRAM/non-muxed
      Multiplexer

      In electronics, a multiplexer or mux is a device that performs multiplexing; it selects one of many analog or digital input signals and outputs that into a single line....
       address lines (used in the Commodore MAX Machine
      Commodore MAX Machine

      The Commodore MAX Machine, also known as Ultimax in the United States and VC-10 in Germany, was a home computer designed and sold by Commodore International in Japan, beginning in early 1982, a predecessor to the popular Commodore 64....
      )
    • MOS Technology 6567 – Original NMOS version
    • MOS Technology 8562 – HMOS-II version
    • MOS Technology 8564 – VIC-II E C128 version


See also

  • Video Display Controller
    Video Display Controller

    A Video Display Controller or VDC is an integrated circuit which is the main component in a video signal generator, a device responsible for the production of a Television Composite video in a computing or game system....
  • List of home computers by video hardware
    List of home computers by video hardware

    This is a list of home computers, sorted alphanumerically, which lists all relevant details of their Video Display Controller.A home computer was the description of the second generation of desktop computers, entering the market in 1977 and becoming common during the 1980s....


External links

  • - detailed hardware description of the VIC-II
  • - an attempt to provide accurate information as to the VIC-II color palette, by Philip Timmermann
  • - simple explanations with example pictures of the common modes used for C64 graphics, including hacked and software-assisted modes.
  • - Saving the Original Disks!