C128 Introductory Guide
C128 Introductory Guide
Introductory Guide
Not the least of the Commodore 128's virtues is the fact that it is produced
by Commodore, the maker of more microcomputers than any other
company in the world. As as with all Commodore products, the C128 gives
you high performance without high price.
The Commodore 128 is, in fact , three computers in one, offering three
operating modes:
• C128 Mode
• C64 Mode
• CP/M Mode
The function and use of each of these three modes is summarized below.
C128 MODE
This mode also has a built-in machine language monitor, allowing you to
create and debug your own machine language programs.
C64 MODE
In C64 Mode the Commodore 128 offers all the capabilities of the highly
successful Commodore 64, thus allowing you to take full advantage of the
wide range of Commodore 64 software already available.
2
In this mode the C12S has full compatability with standard Commodore 64
peripherals including user port and serial devices, cassette recorder ,
joysticks, composite video monitors and TV output.
C64 Mode provides the BASIC 2.0 language, 40 column output and access
to 64K RAM . The keyboard provides all the fun ctions available on a
Commodore 64 computer. All the Commodore 64 graphics, color and
sound capabilities are present and are used in exactly the same way as
they are on the Commodore 64 .
CP/M MODE
Two of the C12S's modes (C12S and CP 1M) allow you to use both 40 and
SO column displays. The type of display you require governs the type of
monitor you use.
To access the 40 column display, use a composite monitor, e.g. the 1701
or 1702 monitor, a TV set or the 1901 40 / S0 column dual composite / RGBI
monitor. To access the SO column display, use an RGBI monitor or the
1901 dual monitor. The 1901 dual monitor allows you to switch between 40
and SO column displays. This can also be achieved by connecting a
composite monitor or TV set to the C128 as well as an RGBI monitor.
Note that the 1901 dual monitor must be set to separated chroma l luma for
40 column display. For the SO column display on that monitor, the video
switch must be set to RGBI and the RGBI switch must be set to POS
DIGITAL. Full instructions for these settings are given in the 1901 user
manual.
3
UNPACKING THE COMMODORE 128 PERSONAL
COMPUTER
Remove the Commodore 128 Personal Computer carefully from the box
and place it on a flat, hard , horizontal surface. Check the contents of the
box to ensure that nothing is missing or damaged . If the box or any of the
contents are damaged or any of the parts are missing, contact your
supplier immediately. Save the boxes in case you need to return the
equipment for servicing.
4
A LOOK AT THE COMMODORE 128
.----------=~- RF SOCKET
RGBI SOCKET
1 . - - - 4 - USER PORT
L-_ _ _ _ _ _ _"::!I',.....L VIDEO SOCKET
1.-_:::-_= _ _ _ _ _ _ SERIAL SOCKET
5
KEYBOARD NOTES
On the C128 keyboard some keys function in all three modes of the
computer. Other keys can only be used in a particular mode or modes. The
diagram below shows the different areas of the keyboard . Keys in the
shaded areas (the Main Keyboard and the Function Keys) work only in
C64 Mode. They correspond to the keys on the Commodore 64 and
function in C64 Mode exactly as the keys on a Commodore 64 do. In C128
a
Mode and CP / M Mode all the keys function. Note that if key is pressed
and that key does not function in the C12S's current mode, that key is
ignored .
C-64 MODE
6
In C128 Mode the Function Keys are assigned special functions , e.g.
pressing the F3 key causes the directory of the disk currently in the disk
drive to be displayed . The uses of the Function Keys in C128 Mode are
given in Chapter 2 Section 5 of the System Guide .
7
DOCUMENTATION AND DISKS
Introductory Guide
System Guide
The System Guide provides you with all the information you need to create
and run your own programs in all three of the Commodore 128's modes. It
describes the Commodore 128 in detail and is designed to help you make
full use of its advanced capabilities.
The minimum system for using the Commodore 128 Personal Computer is
the C128 itself, a suitable monitor or TV set and a 1541 or 1571 disk drive.
If you intend to use C64 Mode with cassette based software only, the disk
drive can be replaced by a cassette unit
Following the instructions on the label on the C128 mains power lead ,
connect a plug to that lead if one is not already fitted. The other end of that
lead is plugged into the Power Socket on the side of the C128.
8
If you are using a monitor it is supplied with a suitable lead for connecting
it to the computer and a user manual giving instructions for connecting the
monitor to the computer.
9
Connecting an RGBI monitor
Note that you can connect a composite monitor and an RGBI monitor to
the Commodore 128 at the same time. This allows you to switch between
40 and 80 column displays.
10
Connecting a Television Set
11
SWITCHING ON
Plug the monitor, C128 and disk drive into the mains power supply.
When you switch on your C128 for the first time, use C128 Mode to test
that all the equipment works correctly.
If you are using a TV set, a composite monitor, e.g. the 1701 , or a 1901
dual monitor, ensure that the 40 / 80 key is in the 40 column position (not
depressed). If this key is depressed, press it once to release it to its raised
position. If you are using a 1901 dual monitor, set it to separated
chroma / luma. This is described in the 1901 user manual.
If you are using an RGBI monitor, ensure that the 40 / 80 key is in the 80
column position (depressed) . If this key is in its raised position , press it
once to depress it.
The Power Indicator Light is then illuminated and the following messages
are displayed:
12
The READY. message then
appears with the cursor, the
fl ashi ng square block, below
this. The computer is now in
C128 Mode. The disk drive can
then be switched on as
described in the user manual for
that piece of equipment.
The Trouble Shooting Chart shown on the fo llowing pages lists some of the
more common problems and tells you how to correct them .
WARNING
NEVER block the ventilation slots on the top of the computer.
Doing so causes overheating which may result in system failure.
13
TROUBLE-SHOOTING CHART
Indicator light not 'ON ' computer not turned ON Make sure power switch is
in ON position
Random pattern on screen Cartridge not properly Turn power OFF and reinsert
with cartridge in place inserted cartridge
14
Symptom Cause Remedy
Picture with poor or no Poorly tun ed color controls Adjust color controls on TV or
color monitor
Appendices A and B of the System Guide list the error messages for the
Commodore 128.
15
PERIPHERALS
In addition to the TV set or video monitor used for the display, you can
connect many other accessories (peripherals) to your computer. Peripherals
increase the range of functions you can carry out with your Commodore 128.
For example, with the correct peripherals you can use the Commodore 128
to access stock market quotes or airline schedules and print out a copy for
reference - all without leaving your home or office. The following describes
some of the most popular peripherals and how to connect them to the
Commodore 128.
16
Disk Drives
Printer
Modem
Joysticksl Mouse
18
Chaining Disk Drives and Printers
You can use the "chaining" (or "daisy chaining ") technique to connect
several disk drives or printers to your Commodore 128. Using this technique,
you connect a cable from one serial port of a printer or disk drive to the serial
port of another disk drive. A disk drive must be the item of equipment directly
connected to the Commodore 128's Serial Port. The connection diagram
shows a printer and a disk drive connected to the computer by chaining .
19
THE THREE OPERATING MODES
Each of the three operating modes of the Commodore 128 takes advantage
of particular hardware and software features. A description of each mode is
given below, together with instructions for selecting that mode when the
computer is switched on and , where applicable, from C128 Mode.
20
WARNING
PRESSING THE RESET SWITCH OR SWITCHING OFF THE
COMPUTER DESTROYS ANY INFORMATION IN THE
COMPUTER'S MEMORY UNLESS THAT DATA IS FIRST SAVED.
C1 28 MODE
C128 Mode is the default mode of the Commodore 128 Personal Computer.
This means that, when you switch on the computer without any keys being
held down and with the disk drive switched off, C128 Mode is entered. This
mode supports both 40 and 80 column displays.
C64 and CP / M modes can be entered from C128 mode without switching
the computer off or resetting it. Instructions for this are given in the
descriptions of those modes.
21
To select 80 column display:
To enter C128 Mode from CP / M Mode, the computer must first be switched
off. The above instructions are then followed to switch it on again in C128
Mode. To enter C128 Mode from C64 Mode, press the Reset Switch.
22
The Function Keys
Leave C128 Mode either by removing the disks from the disk drive and
switching off the computer, or by entering CP / M Mode or C64 Mode,
Instructions for entering CP / M Mode and C64 Mode are given on the
following pages,
WARNING
LEAVING C128 MODE AND ENTERING CP/M MODE OR C64
MODE DESTROYS ANY INFORMATION IN THE COMPUTER'S
MEMORY UNLESS THAT DATA IS FIRST SAVED.
23
C64 MODE
WARNING
NEVER INSERT OR REMOVE A CARTRIDGE WHEN THE
COMPUTER IS SWITCHED ON. DOING SO MAY DAMAGE
BOTH THE COMPUTER AND THE CARTRIDGE.
24
Leaving C64 Mode
To leave C64 Mode, switch the computer off. Note that the computer MUST
be switched off before a cartridge is removed from the C128's Expansion
Port. If you wish to access another mode and / or run a different piece of
software the cartridge must be removed from the computer before it is
switched on again.
CP/M MODE
This mode supports both 40 and 80 column displays. Software available for
earlier versions of CP / M, such as CP / M 2.0 or CP / M 2.2 , can also be run
on the C128 in CP/ M Mode.
• Make sure that you are using a TV set, a composite monitor, or a 1901
dual monitor
• If you are using the 1901 dual monitor, ensure that it is set to separated
chroma / luma (this is described in the 1901 's user manual)
• Make sure the 40 / 80 key is NOT depressed
25
To select 80 column display
• Make sure that you are using an RGBI monitor or a 1901 dual monitor
• If you are using the 1901 dual monitor, ensure that it is set to RGBI on the
video switch and POS DIGITAL on the RGBI switch (see the 1901 's user
manual)
When you have ensured that you have the correct conditions for the required
display:
CP I M Plus ·3.0 is then booted (loaded) into the computer. After the initial
display, the CP I M prompt A> appears. This tells you that CP I M Plus is
ready to accept commands entered through the keyboard .
NOTE
The disk drive MUST be switched on before switching on the
computer when booting CP I M Plus into the computer.
26
Entering CP/M Mode From C128 Mode
CP / M Plus 3.0 is then booted (loaded) into the computer. After the initial
display, the CP / M prompt A> appears. This tells you that CP / M is ready to
accept commands entered through the keyboard .
Note that using this method destroys any information in the computer's
memory unless that data is first saved.
To leave CP/M Mode, remove the CP/M Plus System Disk from the disk
drive and switch off the computer. C64 Mode can then be selected as
described on page 24. To leave CP / M Mode and enter C128 Mode, remove
the CP/M Plus System Disk from the disk drive and press the Reset Switch.
27
MODE SWITCHING CHART
~
TO
C128
OFF
1. Check that
C128
40COL
C128
80 COL
1. Press ESC key ; t .
C64
Check thai
CP/M
40COL
Check that
CP/M
80 COL
1. Check Ihat
40 COL 40/80 key is release . 40 / 80 key IS 40/ 80 key is UP 40/80 key is Up.
UP. 2. Press X key. UP. Turn computer 2. Turn computer
2. Turn computer OR 2. Turn computer OFF. Ihen ON OFF. then ON .
ON . 1. Check that OFF, Ihen ON .
40 / 80 key is
UP.
2. Press RESET
button .
C128 1. Press 40 / 80 1. Press ESC key ; Press 40 / 80 1. Press 40 / 80 key 1. Check that
80 COL key DOWN . release key DOWN . DOWN . 40 / 80 key is
2. Turn computer Press X key Turn computer 2. Remove CP I M DOWN .
ON . OR OFF, then ON . syslem disk Irom 2. Remove CPI M
Press 40 / 80 drive . il system disk Irom
key DOWN . necessary. drive . II
2. Press RESET Turn com puler necessary.
button OFF. then ON . 3. Turn computer
OFF, then ON .
C64 1. Hold (. key 1. Type GO 64 . 1. Type GO 64 ; Turn compu ter 1. Turn computer
DOWN . press RETURN . press RETURN . OFF. OFF.
2. Turn compu ler 2. The computer 2. The computer 2. Check Ihat 40 1 2. Check that 40 1
ON . responds ' responds : 80 key is UP. 80 key is UP.
OR ARE YOU SURE? ARE YOU SURE? Hold DOWN (. 3. Hold DOWN (.
Insert C64 Type Y; press Type Y; press key while turning key while turning
cartridge . RETURN . RETURN . computer ON . computer ON .
2. Turn computer OR OR
ON . Turn computer Turn computer
OFF OFF.
Insert C64 2. Insert C64
cartridge . cartridge .
Turn power ON . 3 . Turn power ON .
CP/M Turn disk drive 1. Turn disk drive 1. Turn disk drive Check that 1. Insert CPIM
40COL ON ON . ON . 40 / 80 key is utilities disk in
Insert CPIM 2. Insert CPIM 2. Insert CPIM UP. drive.
system disk In system disk In system disk In 2. Turn disk drive 2. At screen
drive drive . drive . ON . prompt, A) type :
Check that 3. Check that 3 . Check that 3. Insert CPI M OEVICECONOUT: :: 4QCOl
40 / 80 key IS 40 / 80 key IS 40 / 80 key is system disk in 3. Press RETURN ,
UP UP. UP. drive .
Turn computer 4. Type : 800T 4. Type : BOOT 4. Turn computer
ON 5 Press RETURN 5 Press RETURN OFF. then ON .
CP/M Turn disk drive 1. Turn disk drive Turn disk drive Press 40 / BO Insert CPI M
80 COL ON . ON . ON . key DOWN utilities disk In
Insert CPI M Insert CPI M Insert CPI M Turn disk drive drive .
system disk In system disk In system disk In ON . 2. At screen
drive drive . drive . Insert CPI M prompt. A) type '
Press 40/ 80 3. Press 40 / 80 3. Check that system diSk In OEVICECOfrrtQtJT -80COl
key DOWN . key DOWN . 40 / 80 key IS drive . 3 Press RETURN ,
4. Turn computer 4. Type : BOOT DOWN . 4. Turn computer
ON 5. Press RETURN 4. Type : BOOT OFF, then ON .
5. Press RE TURN
NOTE: If you are using a Commodore 1901 dual monitor, remember to move the video
switch on the monitor from COMPOSITE or SEPARATED to RGBI when switching
from 40-column to BO-column display; reverse this step when switching from BO to 40
columns. Also, when switching between modes remove any cartridges from the
expansion port and any disks from the disk drive.
28
LOADING AND RUNNING SOFTWARE
DISK
29
Disks must be handled with care. The following rules must be obeyed in
order to protect the information stored on your diskettes:
1. Keep the diskette in its storage envelope whenever it is not in the drive
unit.
2. Store the diskette in a diskette library case or other suitable rigid
container.
3. NEVER leave the diskette on top of the drive unit.
4. Keep diskettes away from magnets and magnetic fields such as those
generated by transformers, electronic motors, loudspeakers and
telephone bells.
S. Do not write on the diskette jacket or label with a lead pencil or ball-point
pen . Use a felt-tip pen or fill out the label before attaching it to the
diskette.
6. Do not expose diskettes to excessive heat or sunlight. The
recommended temperature range for the storage and use of diskettes is
SO-120°F or 10-S0°C.
7. Do not touch the diskette surface or centre hole, hold only the encased
area.
8. Do not attempt to clean the diskette. Abrasion results in the loss of
stored information.
9. Do not turn the drive unit on or off while the diskette is in place.
10. Gently load the diskette into the drive unit. Rough handling or forcing
may damage the centre hole.
11 . Do not remove the diskette while the program is loading .
12 . Never remove the diskette from the drive unit while the drive-active
indicator light is lit or while the disk unit is whirring .
13 . Never bend the diskette. Always keep it flat.
14 . Do not attach notes to the diskette with a paper clip or staples.
Software for all three of the C128 's modes (C128 , C64 and CP 1M) is
supplied on disk.
30
Inserting a Disk Into The Disk Drive
The program can now be loaded from the disk into the computer's memory.
Instructions for doing thi s are given in the manual provided with the software.
31
Formatting a Disk
Before a disk can be used to store information or any of your own programs,
it must be formatted . The way in which this is carried out depends on the
current mode of the C128. The following gives the locations in the System
Guide where the formatting instructions are given for each mode:
In C128 and C64 modes you can SAVE onto disk programs that you have
created yourself. These programs can then, at a later date, be LOADed into
the computer and RUN. To save a program onto disk, insert a previously
formatted disk into the disk drive, close the disk drive door and type:
SAVE"programname" ,8
SAVING programname
When you wish to use this program again, or make amendments to it, load it
into the computer's memory by inserting the disk on which you SAVEd it into
the disk drive and typing:
LOAD"programname" ,8
The program name must be exactly as you specified it when you SAVEd the
program . When this is as you wish , press RETURN . The disk drive active
light is illuminated and the message:
32
LOADING programname
RUN
33
CARTRIDGE
Note that you MUST switch the computer off BEFORE removing the
cartridge.
WARNING
NEVER INSERT OR REMOVE A CARTRIDGE WHEN THE
COMPUTER IS SWITCHED ON. DOING SO MAY DAMAGE BOTH
THE COMPUTER AND THE CARTRIDGE.
34
CASSETTE
35
Loading And Running CP I M Software
When the C128 is in CP 1M Mode, remove the CP 1M Plus System Disk from
the disk drive and store it in a safe place. Then insert the required CP 1M
program disk into the disk drive and close the disk drive door. Type in the
program name as given in the user manual for that piece of software, and
press RETURN . You then follow the instructions given on the screen or in the
user manual for that software.
36
Commodore Com modore Buromaschinen GmbH Com mod ore Buromaschinen GmbH
Business Machines (UK) Ltd . Lyoner Str. 38 Kinskygasse 40-44
1, Hunters Road 6000 Frankfurt/Main 71 1232 Vienna
Weldon , Corby West Germany Austria
Northamptonshire, NN 171QX
Great Britain
Commodore Computer NV-SA Commodore Computer BV Commodore Business Machines (Pty.) Ltd .
Leuvensesteenweg 43 Kabelweg 88 5, Mars Road
1940 SI. Stevens-Woluwe 1014 Amsterdam BC Lane Cove
Belgium Netherlands N.S.w . 2066
Australia
( : commodore