Commodore VIC-20

From Wikipedia, the free encyclopedia

  (Redirected from Vic-20)
Jump to: navigation, search
Commodore VIC-20
CBMVIC20P8.jpg
Type Home computer
Release date 1980 (VIC-1001) / 1981
Discontinued 1985
Operating system Commodore BASIC 2.0
CPU MOS Technology 6502 @ 1.108404 MHz (PAL) [1] @ 1.02 MHz (NTSC)
Memory 5 KB - 64 KB
Graphics VIC 176 x 184 3-bpp
Sound 3x square, 1x noise, mono.[2]
Predecessor Commodore CBM-II
Successor Commodore 64

The VIC-20 (Germany: VC-20; Japan: VIC-1001) is an 8-bit home computer which was sold by Commodore Business Machines. The VIC-20 was announced in 1980,[3] roughly three years after Commodore's first personal computer, the PET. The VIC-20 was the first computer of any description to sell one million units.

Contents

[edit] History

[edit] Origin, marketing

The VIC-20 was intended to be more economical than the PET computer. It was equipped with only 5 KB of RAM (of this, only 3583 Bytes were available to the user) and used the same MOS 6502 CPU as the PET. The VIC-20's video chip, the MOS Technology VIC, was a general-purpose color video chip designed by Al Charpentier in 1977 and intended for use in inexpensive display terminals and game consoles, but Commodore couldn't find a market for the chip. As the Apple II gained momentum with the advent of VisiCalc in 1979, Jack Tramiel wanted a product that would compete in the same segment, to be presented at the January 1980 CES. For this reason Chuck Peddle and Bill Seiler started to design a computer named TOI (The Other Intellect).

The TOI computer failed to materialize, mostly due to the fact that it required an 80-column character display which in turn required the MOS Technology 6564 chip. However, the chip could not be used in the TOI since it required very expensive static RAM to operate fast enough. In the meantime, freshman engineer Robert Yannes at MOS Technology (then a part of Commodore) had designed a computer in his home dubbed the MicroPET and finished a prototype with some help from Al Charpentier and Charles Winterble. With the TOI unfinished, when Jack Tramiel was confronted with the MicroPET prototype, he immediately said he wanted it to be finished and ordered it to be mass-produced following a limited demonstration at the CES.

The prototype produced by Yannes had very few of the features required for a real computer, so Robert Russell at Commodore headquarters had to coordinate and finish large parts of the design under the codename Vixen. The parts contributed by Russell included a port of the operating system (kernel and BASIC interpreter) taken from John Feagans design for the Commodore PET, a character set with the characteristic PETSCII, an Atari 2600-compatible joystick interface, and a ROM cartridge port. The serial IEEE 488-derivative interface (which could use far cheaper cabling than a real IEEE-488 as was used on the PET) was designed by Glen Stark. Some features, like the memory add-in board, were designed by Bill Seiler. At the time, Commodore had an oversupply of 1 Kbit×4 SRAM chips, so Tramiel decided that these should be used in the new computer. The end result was arguably closer to the PET or TOI computers than to Yannes' prototype, albeit with a 22-column VIC chip instead of the custom chips designed for the more ambitious computers.

In April 1980 at a meeting of general managers outside London, Jack Tramiel declared that he wanted a low-cost color computer. When most of the GMs argued against it, he said: "The Japanese are coming, so we will become the Japanese." This was in keeping with Tramiel's philosophy which was to make "computers for the masses, not the classes". The concept was championed at the meeting by Michael Tomczyk, newly hired marketing strategist and assistant to the president, Tony Tokai, General Manager of Commodore-Japan, and Kit Spencer, the UK's top marketing executive. Then, the project was given to Commodore Japan. Engineering team led by Yash Terakura created VIC-1001 for Japanese market. The VIC-20 was marketed in Japan as VIC-1001 before VIC-20 was introduced to the US.

Original VIC-20 box

When they returned to California from that meeting, Tomczyk wrote a 30-page memo detailing recommendations for the new computer, and presented it to Tramiel. Recommendations included programmable function keys, full-size typewriter-style keys, and built-in RS-232. Tomczyk insisted on "user-friendliness" as the prime directive for the new computer, and proposed a retail price of US$ 299.95. He recruited a marketing team and a small group of computer enthusiasts, and worked closely with colleagues in the UK and Japan to create colorful packaging, user manuals, and the first wave of software programs (mostly games and home applications). Tomczyk's account of the story is told in his 1984 book, The Home Computer Wars.

Scott Adams was contracted to provide a series of cartridge-based adventure games. With help from a Commodore engineer who came to Longwood Florida to assist in the effort, five of Adams's current Adventure game series were ported to cartridge format. They got around the limited memory of VIC-20 by having the 16 KB games reside in a ROM cartridge instead of being loaded into main memory via cassette as they were on the TRS-80 and other machines the games were currently running on. The games were entirely text-based and had no graphics, yet they sold very well. The first run of the five cartridges generated over US$ 1,500,000 in sales for Commodore.[citation needed]

While the PET was sold through authorized dealers, the VIC-20 primarily sold at retail—especially discount and toy stores, where it could compete more directly with game consoles. It was the first computer to be sold in K-Mart. Commodore took out advertisements featuring actor William Shatner (of Star Trek fame) as its spokesman, asking: "Why buy just a video game?" Television personality Henry Morgan (best known as a panelist on the TV show I've Got A Secret) became the ironic voice on a series of clever Commodore product ads.

The VIC-20 had 5 KB of RAM (netted down to 3.5 KB on startup, exactly 3583 bytes), which is roughly equivalent to the words and spaces on one sheet of typing paper, meeting a design goal of the machine. The computer was expandable up to 40 KB with an add-on memory cartridge (a maximum of 27.5 KB was usable for BASIC). Although the VIC-20 was criticized in print as being underpowered, the strategy worked.

In 1981, Tomczyk contracted with an outside engineering group to develop a direct-connect modem-on-a-cartridge (the VICModem), which at US$ 99 became the first modem priced under US$ 100. The VICModem was also the first modem to sell over 1 million units. VICModem was packaged with US$ 197.50 worth of free telecomputing services from The Source, CompuServe and Dow Jones. Tomczyk also created an entity called the Commodore Information Network to enable users to exchange information and take some of the pressure off of Customer Support inquiries, which were straining Commodore's lean organization. In 1982, this network accounted for the largest traffic on CompuServe.[citation needed]

[edit] Retirement

In 1982 the VIC-20 was the best-selling computer of the year, with 800,000 machines sold. Sales of the VIC-20 started declining after the launch of the Commodore 64 in that same year. The Commodore 64 used the same housing and almost the same operating system and BASIC interpreter as the VIC-20, but was a much more powerful machine with higher resolution graphics, a more capable sound generator and a full 64 kilobytes of RAM.

In January 1983, the VIC-20 became the first computer in history to pass the 1 million unit mark. At its peak, 9000 units per day were produced, and a total of 2.5 million units were sold before it was discontinued in January 1985.[citation needed]

[edit] Applications

Software cartridge

Because of its small memory and low-resolution display compared to some other computers of the time, the VIC-20 was primarily used for educational software and games. However, productivity applications such as home finance programs, spreadsheets, and communication terminal programs were also made for the machine. Its high accessibility to the general public meant that quite a few software developers-to-be cut their teeth on the VIC-20, being introduced to BASIC programming, and in some cases going further to learn assembly or machine language. A young Linus Torvalds was given a VIC-20 as his first computer. Another notable software developer who began his computing career with a VIC-20 was the OpenBSD creator Theo de Raadt.

Several computer magazines sold on newsstands, such as Compute! and CBM-produced publications, offered programming tips and type-in programs for the VIC-20. Many VIC users learned to program by entering, studying, running, and modifying these type-ins.

The ease of programming the VIC and availability of an inexpensive modem combined to give the VIC a sizable library of public domain and freeware software, although much smaller than that of the C64. This software was distributed via online services such as CompuServe, BBSs, and user groups.

As for commercial software offerings, an estimated 300 titles were available on cartridge, and another 500+ titles were available on tape. By comparison, the Atari 2600—the most popular of the video game consoles at the time—had a library of about 900 titles near the end of its production life (many were variations of another title). Most cartridge games were ready to play as soon as VIC-20 was turned on, as opposed to games on tape which required a time-consuming loading process. Titles on cartridge included Gorf, Cosmic Cruncher, Sargon II Chess, and many others.

One of the most popular cassette games was Blitz, written by Simon Taylor and published by Commodore, selling many tens of thousands of copies, and remaining in the top ten computer games listings for six months. The game involved flying over a city of skyscrapers, and flattening the buildings one by one by bombing them until the city was flat. The aircraft descended a line at a time, and if the player's bombing was not accurate enough, the game would kill the pilot and let the civilians do what they may with the plane.

[edit] Technical specifications

[edit] Basic features

The VIC-20 BASIC startup screen.

The VIC-20 had proprietary connectors for program/expansion cartridges and a tape drive (PET-standard Datassette). It came with 5 KB RAM, but 1.5 KB was used by the system for various things, like the video display (which had a rather unusual 22×23 char/line screen layout), and other dynamic aspects of the ROM-resident BASIC interpreter and KERNAL (a low-level operating system). Thus, 3583 bytes of BASIC program memory for code and variables was available to the user of an unexpanded machine.

The computer also had a serial bus (a serial version of the PET's IEEE-488 bus) for daisy chaining disk drives and printers; a TTL-level "user port" with RS-232 and Centronics signals (most frequently used as RS-232, for connecting a modem[4]); and a single DE-9 game controller port, compatible with the digital joysticks and paddles used with Atari 2600 videogame consoles and, later, the C64 (the use of a standard port ensured ample supply of Atari-manufactured and other third-party joysticks; Commodore itself offered an Atari-protocol joystick under the Commodore brand).

Importantly, like most video game consoles at the time the VIC had a cartridge port to allow for plug-in cartridges with games and other software as well as for adding memory to the machine. Port expander boxes were available from Commodore and other vendors to allow more than one cartridge to be connected at a time.

The graphics capabilities of the VIC chip (6560/6561) were limited but flexible. At startup the screen showed 176 x 184 pixels, with a fixed-colour border to the edges of the screen; since an NTSC or PAL screen has a 4:3 width-to-height ratio, each VIC pixel was much wider than it was high. The screen normally showed 22 columns and 23 rows of 8-by-8-pixel characters; it was possible to increase these dimensions but the characters would soon run out the sides of the monitor. Like on the PET, 256 different characters could be displayed at a time, normally taken from one of the two character generators in ROM (one for upper-case letters and simple graphics, the other for mixed-case -- non-English characters were not provided). In the usual display mode, each character position could have its foreground colour chosen individually, and the background and screen border colours were set globally. A character could be made to appear in another mode where each pixel was chosen from 4 different colours: the character's foreground colour, the screen background, the screen border and an "auxiliary" colour; but this mode was rarely used since it made the pixels twice as wide as they normally were.

The VIC chip did not provide for a direct full-screen, high-resolution graphics mode. It did, however, allow the pixel-by-pixel depictions of the on-screen characters to be redefined (by using a character generator in RAM), and it allowed for double-height characters (8 pixels wide, 16 pixels high). It was possible to get a fully-addressable screen, slightly smaller (160 by 160) than normal, by filling the screen with a sequence of 200 different double-height characters, then turning on the pixels selectively inside the RAM-based character definitions. (The 200-character limitation was so that enough bytes would be left over for the screen character grid itself to remain addressable by the VIC chip.) The Super Expander cartridge provided such a mode in BASIC, although it often had to move the BASIC program around in memory to do it. It was also possible to fill a larger area of the screen with addressable graphics using a more dynamic allocation scheme, if the contents were sparse or repetitive enough. This was used, for instance, by the game Omega Race. The VIC chip did not support sprites.

The VIC chip had readable scan-line counters but could not generate interrupts based on the scan position (as the VIC-II chip could). However, the two VIA timer chips could be tricked into generating interrupts at specific screen locations, by setting up the timers after a position has been established by repetitive reading of the scan-line counter, and letting them run the exact number of cycles that pass by during one full screen update. Thus it was possible, but difficult, to e.g. mix graphics with text above or below it, or to have two different background and border colors, or to use more than 200 characters for the pseudo-high-resolution mode. The VIC chip could also process a light pen signal (a light pen input was provided on the DE-9 joystick connector) but few of those ever appeared on the market.

The VIC chip had three rectangular-wave sound generators. Each had a range of three octaves, and the generators were located on the scale about an octave apart, giving a total range of about five octaves. In addition, there was a white noise generator. There was only one volume control, and the output was in mono.

[edit] Memory expansion

A 16K RAM expansion cartridge

The VIC-20's RAM was expandable with plug-in cartridges using the same expansion port as programs. RAM cartridges were available in several sizes: 3 KB (with or without an included BASIC extension ROM), 8 KB, 16 KB, 32 KB and 64 KB, the latter two only from third-party vendors. The internal memory map was reorganized with the addition of each size cartridge, leading to the situation that some programs would only work if the right amount of memory was present (to cater for this, the 32 KB cartridges had switches, and the 64 KB cartridges had software setups, allowing the RAM to be enabled in user-selected sections).

The most visible part of memory that was reorganised with differing expansion memory configurations was the video memory (with text and/or graphics display data). This was because the video chip could only use the built-in memory for its display data, and at the same time free memory had to remain contiguous for the BASIC interpreter to be able to use it. An unexpanded VIC had 1 KB of system memory, followed by a 3 KB "hole", then 4 KB of contiguous user memory up to address 8191. The 3 KB cartridge would fill the "hole", so on unexpanded and +3K VICs the video area was placed at the top of user memory (8 KB - 512 Bytes). If an 8 KB or 16 KB cartridge was added instead, this memory appeared at addresses above 8 KB; the video memory was then placed at the start of user memory at 4 KB, just above the "hole", to provide the maximum amount of contiguous user memory.

The 32 KB cartridges allowed adding up to 24 KB to the BASIC user memory; together with the 3.5 KB built-in user memory, this gave a maximum of 27.5 KB for BASIC programs and variables. The extra 8 KB could usually be used in one of two ways, set by switches:

  1. Either it could be mapped into the address space reserved for ROM cartridges, which sat "behind" the I/O register space and thus was not contiguous with the rest of the RAM. This allowed running many cartridge-based games from disk or tape and was thus very useful for software pirates; especially if the RAM expansion allowed switching off writing to its memory after the game was loaded, so that the memory behaved exactly like ROM.
  2. Or, 3 KB of the 8 KB could be mapped into the same memory "hole" that the 3 KB cartridge used, letting 5 KB lie fallow. These 3 KB were contiguous with the rest of RAM, but couldn't be used to expand BASIC space to more than 27.5 KB, because the display data would have had to be moved to cartridge RAM, which wasn't possible.

Some 64 KB expansion cartridges allowed the user to copy ROM images to RAM. The more advanced versions even contained an 80-character video chip and a patched BASIC interpreter which gave access to 48 KB of the memory and to the 80-column video mode. As the latter type of cartridges, marketed primarily in Germany, weren't released until late 1984—two years after the appearance of the more capable C64—they went by mostly unnoticed.

[edit] The VIC's name(s)

  • The name "VIC" came from the Video Interface Chip, which, despite its designation, also handled all the sound synthesis in the VIC-20. The VIC chip's successor, the graphics-and-RAM-refresh VIC-II, was used to great success in Commodore's later best-selling machine, the C64, and also in the dual video output C128 for that computer's 40-column/composite video graphics.
  • The VIC-20 was originally meant to be called Vixen, but this name was inappropriate in Germany, Commodore's second most important market, because it sounds like wichsen, a German language colloquial word for "masturbate". VIC, which was subsequently chosen, has a similar problem, it can be pronounced like fick[en], the German word for "fuck". Therefore the VIC-20 was finally marketed as the VC-20 "Volkscomputer" (people's computer) in German-language countries. Volk means "commonly affordable" in German.
  • In Japan, where the VIC-20 hit the market a bit earlier than elsewhere, it was marketed as the VC-1001 (1980). This version allowed the display of Katakana, which replaced an equal number of graphical symbols of the other versions.
  • Most continental European versions were not localized beyond adapting them to the PAL color TV system and translating the manuals. An exception was the Swedish/Finnish version, which provided the letters Ä, Ö, and Å on its keyboard and in its character shape ROM.
  • The 20 in VIC-20 has often been connected with the total size of ROM inside the computer (8 KB BASIC + 8 KB KERNAL + 4 KB character shapes = 20 KB), but in fact it has nothing to do with technical specs. Michael Tomczyk thought that VIC sounded like a truck driver's name so he insisted on adding 20 as a friendly number for a friendly computer. According to reports, the original name was going to be VIC-22 (based on the screen width) but 20 was chosen as a friendlier name.[citation needed]

[edit] Notes

The VIC 20 could be hooked into external electronic circuitry, using parts available from parts outlets like RadioShack and Maplin. Interfaces were designed to use either the joystick port, the so-called "user port", or the memory expansion / cartridge port, which exposed various analog to digital, memory bus, and other internal I/O circuits to the experimenter. The BASIC language could then be used (using the PEEK and POKE commands) to perform data acquisition from temperature sensors, control robotic stepper motors, etc. The VIC-20 did not originally have a disk drive available for sale, with only a relatively high cost tape recorder system (using audio cassette tapes). Many experimenters built adapters that allowed any conventional audio cassette recorder to be used for program and data storage (since these were generally cheaper than Commodore's own Datasette recorder).

Additionally, certain system functions could be accessed by the SYS command. For example, "SYS 64802" would cause the computer to restart much like Control-Alt-Delete on IBM compatible PCs or the Reset button on Apple's Macintosh computers. This is because memory location 64802 in the standard memory map was the entry point to the VIC's KERNAL reset routine

[edit] See also

[edit] References

  1. ^ "MESS VIC20/VC20 (German) PAL". http://mess.redump.net/mess:drivers:vc20:vc20.  MESS - Multiple Emulator Super System
  2. ^ "Home Video Game Console Sound Chip Round-Up". http://www.gweep.net/~shifty/txt/videogamemusic.txt.  090514 gweep.net
  3. ^ Commodore.ca | Products | Commodore VIC-20 History, Pictures & Time Line
  4. ^ The Commodore VICModem and later models connected directly to the user port's edge connector. But in order to connect the VIC to industry-standard modems and other RS-232 devices, the user needed to purchase a separate TTL-to-RS232 voltage converter box (standard TTL voltages lie between 0 and 5 V, while RS-232 uses ±12 V).

[edit] Bibliography

[edit] External links

This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL.