
The VIC-1211 Super Expander is a
cartridge for the
VIC-20
The VIC-20 (known as the VC-20 in Germany and the VIC-1001 in Japan) is an 8-bit entry level home computer that was sold by Commodore International, Commodore Business Machines. The VIC-20 was announced in 1980, roughly three years after Commod ...
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 ...
. It was designed to provide several
extensions
Extension, extend or extended may refer to:
Mathematics
Logic or set theory
* Axiom of extensionality
* Extensible cardinal
* Extension (model theory)
* Extension (proof theory)
* Extension (predicate logic), the set of tuples of values t ...
to the
BASIC
Basic or BASIC may refer to:
Science and technology
* BASIC, a computer programming language
* Basic (chemistry), having the properties of a base
* Basic access authentication, in HTTP
Entertainment
* Basic (film), ''Basic'' (film), a 2003 film
...
interpreter on the computer, mostly to help with programming
graphics
Graphics () are visual images or designs on some surface, such as a wall, canvas, screen, paper, or stone, to inform, illustrate, or entertain. In contemporary usage, it includes a pictorial representation of the data, as in design and manufa ...
and
sound
In physics, sound is a vibration that propagates as an acoustic wave through a transmission medium such as a gas, liquid or solid.
In human physiology and psychology, sound is the ''reception'' of such waves and their ''perception'' by the br ...
. It also provided of extra
RAM (of which 136 bytes were used by the cartridge itself). The cartridge was created by
Commodore Business Machines (CBM) and released in 1981.
Description
The dialect of BASIC bundled with the VIC-20,
Commodore BASIC V2.0, was notorious for its sparse functionality. It didn't even match the features of Commodore's older line of computers, the
PET
A pet, or companion animal, is an animal kept primarily for a person's company or entertainment rather than as a working animal, livestock, or a laboratory animal. Popular pets are often considered to have attractive/ cute appearances, inte ...
which, at that time, already featured Commodore BASIC version 4.0. As a result, it was outdated by the VIC-20's release and seemed quite primitive compared to
BASIC dialects available on other microcomputers. To be fair, the decision by Commodore to recycle the old BASIC, and the fact that it could fit in just
ROM
Rom, or ROM may refer to:
Biomechanics and medicine
* Risk of mortality, a medical classification to estimate the likelihood of death for a patient
* Rupture of membranes, a term used during pregnancy to describe a rupture of the amniotic sac
* ...
(including the
KERNAL), helped keep the VIC-20's price to a minimum and so contributed to its huge success. Plus it was stable and almost entirely
bug-free, which could not be said of some competing BASICs.
Nevertheless, not only did "VIC BASIC" lack
command
Command may refer to:
Computing
* Command (computing), a statement in a computer language
* command (Unix), a Unix command
* COMMAND.COM, the default operating system shell and command-line interpreter for DOS
* Command key, a modifier key on A ...
s considered fundamental to the BASIC language, such as "else" and "renum", but graphics and sound effects were completely unsupported. To use VIC-20's graphics and sound programmers had to "
PEEK and POKE"
byte
The byte is a unit of digital information that most commonly consists of eight bits. Historically, the byte was the number of bits used to encode a single character of text in a computer and for this reason it is the smallest addressable un ...
s directly from/to the VIC-20's graphics/sound hardware, the
6560 Video Interface Chip (VIC). This made
programming quite tedious and error prone since cryptic
memory address
In computing, a memory address is a reference to a specific memory location in memory used by both software and hardware. These addresses are fixed-length sequences of digits, typically displayed and handled as unsigned integers. This numeric ...
es and codes had to be used constantly, mistakes in these would usually crash the computer instead of giving an error message, and many statements were required to do even simple tasks. Such a thing was death in the tiny RAM and slow
interpreted BASIC paradigm of the day.
Programmers could mitigate these problems by using
machine code
In computer programming, machine code is computer code consisting of machine language instructions, which are used to control a computer's central processing unit (CPU). For conventional binary computers, machine code is the binaryOn nonb ...
, to an extent, but this in itself was a tedious process with a rather steep learning curve. So to address these shortcomings Commodore created the ''Super Expander'' cartridge. It provided extra BASIC commands to facilitate using graphics and sound on the VIC-20. It also had commands to read the
joystick
A joystick, sometimes called a flight stick, is an input device consisting of a stick that pivots on a base and reports its angle or direction to the device it is controlling. Also known as the control column, it is the principal control devic ...
and
lightpen, and unlocked the use of
function key
A function key is a key on a computer or computer terminal, terminal computer keyboard, keyboard that can be programmed to cause the operating system or an application program to perform certain actions, a form of soft key. On some keyboards/com ...
s.
Graphics
The VIC-20 did not support high resolution graphics directly. Hi-res graphics were implemented by "painting" the display with
characters, and "redefining" the character
bitmap
In computing, a bitmap (also called raster) graphic is an image formed from rows of different colored pixels. A GIF is an example of a graphics image file that uses a bitmap.
As a noun, the term "bitmap" is very often used to refer to a partic ...
s on the fly. This was a complex and long-winded process; implementing it in a BASIC program was virtually useless due to the execution time required to draw anything.
The ''Super Expander'' took care of all the hard work. It allowed the programmer to draw points, lines, ellipses and arcs, and to paint enclosed regions, with one-line statements. All the VIC-20's 16 colours could be used, although with restrictions due to limitations of the 6560 chip.
Display resolution
The display resolution or display modes of a digital television, computer monitor, or other display device is the number of distinct pixels in each dimension that can be displayed. It can be an ambiguous term especially as the displayed resoluti ...
was 160×160
pixel
In digital imaging, a pixel (abbreviated px), pel, or picture element is the smallest addressable element in a Raster graphics, raster image, or the smallest addressable element in a dot matrix display device. In most digital display devices, p ...
s, throttled down from 192×200 allowed by the 6560 chip, in order to permit per-pixel addressability. Multicolor hi-res was supported (with a resolution of 80×160) and could be mixed with normal hi-res.
Sound
The VIC-20's sound capability was fairly simplistic, so programming sound effects using "PEEK and POKE" was not so much of a chore as programming graphics. Even so, the ''Super Expander'' provided a command to play simple tones on the VIC-20's four voice channels, and to control the volume.
Music
Music is the arrangement of sound to create some combination of Musical form, form, harmony, melody, rhythm, or otherwise Musical expression, expressive content. Music is generally agreed to be a cultural universal that is present in all hum ...
playback was unsupported on the VIC-20; the usual way of implementing a musical note was to play a tone inside a
for loop
In computer science, a for-loop or for loop is a control flow Statement (computer science), statement for specifying iteration. Specifically, a for-loop functions by running a section of code repeatedly until a certain condition has been satisfi ...
time delay. In contrast, with ''Super Expander'' musical scores could be played by simply PRINTing a
string
String or strings may refer to:
*String (structure), a long flexible structure made from threads twisted together, which is used to tie, bind, or hang other objects
Arts, entertainment, and media Films
* ''Strings'' (1991 film), a Canadian anim ...
of characters. (Music strings were distinguished from regular strings using a special reverse-control-character, familiar to anyone who has used colours or cursor controls in VIC-20 programs.) Each of the VIC-20's four voice channels could play their own scores simultaneously, giving
harmonious effects which could be striking by the standards of the time.
Other devices
''Super Expander'' provided commands to read the status of the joystick and
paddles, and the position of the lightpen. In the case of the joystick, since it was the "digital" or "switch" type, further
bit-fiddling was required to decode its position.
Function keys
Ordinarily the VIC-20's function keys could only be used in a program, by scanning for the appropriate key code when reading the
keyboard. In the VIC-20's
direct mode they were not available to do anything. With the ''Super Expander'' the function keys could be assigned to execute commands in immediate mode. By default they came pre-programmed with the most common BASIC commands, in a similar fashion to
GW-BASIC
GW-BASIC is a dialect of the BASIC programming language developed by Microsoft from IBM BASICA. Functionally identical to BASICA, its BASIC interpreter is a fully self-contained executable and does not need the Cassette BASIC ROM found in the ori ...
on the
IBM PC
The IBM Personal Computer (model 5150, commonly known as the IBM PC) is the first microcomputer released in the List of IBM Personal Computer models, IBM PC model line and the basis for the IBM PC compatible ''de facto'' standard. Released on ...
. The user could then assign their own commands, or any arbitrary string in fact, to the function keys.
Drawbacks
The following are the main limitations of the ''Super Expander's'' appeal and usefulness.
* Commodore designed the ''Super Expander'' to map the graphics display to a 1024×1024
coordinate system
In geometry, a coordinate system is a system that uses one or more numbers, or coordinates, to uniquely determine and standardize the position of the points or other geometric elements on a manifold such as Euclidean space. The coordinates are ...
. Under this scheme, each video pixel was 6.4 (or 12.8) "virtual" pixels in size. This meant that in order to place pixels in exact positions on the screen a further scaling operation had to be coded in. Similar functionality was provided on BASIC 3.5 and 7.0 via the
SCALE
command, but in these versions of BASIC, scaling was optional and could be done to any arbitrary user-specified size.
* The aspect ratio of the output device (i.e. television set) was not taken into account by the coordinate system. So on NTSC, a circle sized, say, 300×300 would appear elliptical. Similarly, a line drawn from (0,0) to (300,300) would not be displayed as 45°.
* When drawing circle arcs, the starting and ending angles had to be specified in non-standard units of a 100 "gradians" to the circle (as opposed to 360
degrees or 400 actual
gradian
In trigonometry, the gradianalso known as the gon (), grad, or gradeis a unit of measurement of an angle, defined as one-hundredth of the right angle; in other words, 100 gradians is equal to 90 degrees. It is equivalent to of a turn, of a ...
s).
* The ''Super Expander'' had no capability to put a
bitmap
In computing, a bitmap (also called raster) graphic is an image formed from rows of different colored pixels. A GIF is an example of a graphics image file that uses a bitmap.
As a noun, the term "bitmap" is very often used to refer to a partic ...
to the display. This meant arbitrary bitmaps, as might be used in a hi-res game, had to be drawn pixel-by-pixel. The slowness of the BASIC interpreter made this unsuitable for applications like
arcade-style games. As a result, ''Super Expander's'' capability was mostly useful for shape-centric drawings such as charts and simple pictures, or
adventure-style games with static images.
* Programs written using the extra ''Super Expander'' commands were not
portable
Portable may refer to:
General
* Portable building, a manufactured structure that is built off site and moved in upon completion of site and utility work
* Portable classroom, a temporary building installed on the grounds of a school to provide a ...
. While unavoidable (since programs would not fit into the memory of an unexpanded VIC-20, and the additional BASIC commands wouldn't be recognized anyway). A user needed to own the cartridge and have it installed before a program written with the additional commands would run.
Loading the program onto an unexpanded VIC-20 gave errors. Therefore, the range of
software
Software consists of computer programs that instruct the Execution (computing), execution of a computer. Software also includes design documents and specifications.
The history of software is closely tied to the development of digital comput ...
released to take advantage of the ''Super Expander's'' capabilities, including
type-in programs published in magazines, was very small.
In spite of the above, the ''Super Expander's'' features filled many of the gaps in the VIC-20's programming environment. Additionally, similar microcomputers on the market suffered the same, or equivalent, shortcomings.
See also
*
Commodore BASIC
Commodore BASIC, also known as PET BASIC or CBM-BASIC, is the Dialect (computing), dialect of the BASIC programming language used in Commodore International's 8-bit home computer line, stretching from the Commodore PET, PET (1977) to the Commodore ...
*
MOS Technology VIC (aka the MOS Technology 6560 Video Interface Chip)
*
Super Expander 64
External links
ftp.funet.fi: Super Expander manual and demo programs
{{BASIC
CBM software
VIC-20
BASIC extensions
Memory expansion
VIC-20 software