EasyManua.ls Logo

Commodore VIC-20 - Page 6

Commodore VIC-20
20 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2
alternative to PROGRAM mode is EDIT mode
which assigns edit commands to these same
keys. (See Section 2.3.2.)
There are twelve AID commands available in
each mode. Each of the function keys may be
pressed on its own, with the SHIFT key held
down or with the CTRL key held down. When the
key is pressed, one of 12 preassigned functions
is displayed on the screen. Sections 2.3.1 and 2
describe the function keys and the two modes of
PROGRAMMER’S AID in more detail. If he
wishes, the programmer may assign his own
values to these keys, i.e. different from the
values generated by the PROGRAMMER’S AID
CARTRIDGE. (See section 2.4.8.)
1.4 PROGRAMMER’S AID
Commands
The following is a list of AID commands which
are added to your VIC operating system by the
PROGRAMMER’S AID CARTRIDGE:
Commands used when debugging and
executing programs:
HELP, TRACE, STEP, OFF, DUMP
Commands for assigning the function keys:
KEY, EDIT, PROG, KILL
These commands can only be entered into
the VIC in DIRECT mode, i.e. they cannot be
incorporated into the body of the program.
PROGRAMMER’S AID also gives you six
special program editing functions which can
be used by holding the CTRL key down and
pressing a letter on the keyboard. CTRL and U
for example will erase all the characters on the
line where the cursor is located when the
command was executed. The six special
program editing functions are detailed in
Section 2.5
1.5 Entering Commands
All the commands in PROGRAMMER’S AID
are executed by first typing the command and
then pressing the RETURN key. Some BASIC
commands assigned to the function keys have
a built in RETURN and the command is executed
simply by pressing the key. These commands are
RUN, EDIT, RETURN, TRACE, STEP and PROG.
(See Sections 2.3.1 and 2.3.2.)
1.6 Indication of Errors
If an AID command is not spelt correctly, the
message “SYNTAX ERROR” will be displayed
to the screen. You must retype the command
using the correct spelling.
2