ArticleslgStudy

computer science

MOS Technology VIC-II

MOS Technology VIC-II is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand MOS Technology VIC-II rather than just read about it. In short: The VIC-II (Video Interface Chip II), specifically known as the MOS Technology 6567/6566/8562/8564 (NTSC versions), 6569/8565/8566 (PAL), is the microchip tasked with generating Y/C video signals (combined to composite video in the RF modulator) and DRAM refresh signals in the Commodore 64 and Commodore 128 home computers. Succeeding the original MOS Technology VIC used in the VIC-20, the VIC-II was one of the key c…

MOS Technology VIC-II — main illustration
MOS Technology VIC-II — illustration

Key takeaways

  • MOS Technology VIC-II belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect MOS Technology VIC-II to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of MOS Technology VIC-II from memory before moving on to harder problems.

Reference excerpt

The VIC-II (Video Interface Chip II), specifically known as the MOS Technology 6567/6566/8562/8564 (NTSC versions), 6569/8565/8566 (PAL), is the microchip tasked with generating Y/C video signals (combined to composite video in the RF modulator) and DRAM refresh signals in the Commodore 64 and Commodore 128 home computers. Succeeding the original MOS Technology VIC used in the VIC-20, the VIC-II was one of the key custom chips in the Commodore 64 (the other being the MOS Technology 6581 sound chip).

Development history The VIC-II chip was designed primarily by Albert Charpentier and Charles Winterble at MOS Technology, Inc. as a successor to the MOS Technology 6560 "VIC". 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 computers 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 TI-99/4A computer and its TMS9918 graphics coprocessor. The idea to support collision detection came from the Mattel Intellivision. The Atari 800 was also mined for desired features, particularly bitmap mode, which was a desired goal of the MOS team as all of Commodore's principal home computer rivals had bitmap graphics while the VIC-20 only had redefinable characters. About 3/4 of the chip surface is used for the sprite functionality. The chip was partly laid out using electronic design automation tools from Applicon (now a part of UGS Corp.), 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 lab and semiconductor plant at the same location. The initial batch of test chips came out almost fully functional, with only one bad sprite. The chip was developed in 5 micrometer technology. The work on the VIC-II was completed in November 1981 while Robert Yannes was simultaneously working on the SID chip. Both chips, like the Commodore 64, were finished in time for the Consumer Electronics Show in the first weekend of January 1982.

VIC-II features Some of the graphics modes on the 64 are really strange, and they have no analogs to the Atari or Apple, like the ability to change color of the character basis across the screen. That gave us a lot of color capability that had not been exploited. 16 KB 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; 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

Note that below register addresses are stated as seen by CPU in a C64. To yield the register numbers as usually given in data sheets (i. e. starting with 0), the leading "D0" should be omitted.

Programming

The VIC-II is 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 deal exclusively with sprite control (sprites being called MOBs, from "Movable Object Blocks", in the VIC-II documentation). Like its predecessor, the VIC-II handles light pen input, and with help from the C64's standard character ROM, provided the original PETSCII character set from 1977 on a similarly dimensioned display as the 40-column PET series. By reloading the VIC-II's control registers via machine code hooked into the raster interrupt routine (the scanline interrupt), one can 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 can be increased further by letting the sprites flicker rapidly on and off. Mastery of the raster interrupt is essential in order to unleash the VIC-II's capabilities. Many demos 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, but the reliance on raster interrupts to ensure proper synchronization could be reduced and their overhead minimized.

… excerpt ends here. Continue reading the full article.

Illustrations

MOS Technology VIC-II: MOS 6569R3 (PAL version) on a C64 main board
MOS 6569R3 (PAL version) on a C64 main board
MOS Technology VIC-II: MOS 6567 VIC-II pinout.
MOS 6567 VIC-II pinout.
MOS Technology VIC-II: Supratechnic, a type-in program published by COMPUTE!'s Gazette in November 1988, showcases the careful use of raster interrupts to display information outside of the standard screen borders (here: the upper and lower border).
Supratechnic, a type-in program published by COMPUTE!'s Gazette in November 1988, showcases the careful use of raster interrupts to display information outside of the standard screen borders (here: the upper and lower border).
MOS Technology VIC-II: The VIC-II chip has a fixed 16-color palette, shown above.
The VIC-II chip has a fixed 16-color palette, shown above.
MOS Technology VIC-II: MOS 8566 VIC-IIe pinout
MOS 8566 VIC-IIe pinout

Worked examples

Example 1 — a first encounter with MOS Technology VIC-II

Start with the simplest possible case. Write down what MOS Technology VIC-II claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to MOS Technology VIC-II before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about MOS Technology VIC-II ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of MOS Technology VIC-II

In research
MOS Technology VIC-II appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses MOS Technology VIC-II in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
MOS Technology VIC-II is common in secondary-school and first-year university syllabi. It links to neighbouring topics Commodore 64, Computer display standards, Graphics chips, so understanding it makes those chapters shorter.
In everyday life
Look for MOS Technology VIC-II outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “MOS Technology VIC-II” →

How to study MOS Technology VIC-II in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what MOS Technology VIC-II means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain MOS Technology VIC-II out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is MOS Technology VIC-II in simple terms?

The VIC-II (Video Interface Chip II), specifically known as the MOS Technology 6567/6566/8562/8564 (NTSC versions), 6569/8565/8566 (PAL), is the microchip tasked with generating Y/C video signals (combined to composite video in the RF modulator) and DRAM refresh signals in the Commodore 64 and Comm…

Why does MOS Technology VIC-II matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study MOS Technology VIC-II?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on MOS Technology VIC-II.

Tags

  • Commodore 64
  • Computer display standards
  • Graphics chips
  • MOS Technology integrated circuits

Keep exploring