Moving The Cursor In C64 Mode; Programming Function Keys In C64 Mode - Commodore 128 System Manual

Table of Contents

Advertisement

MOVING THE CURSOR IN C64 MODE

ln C64 Mode, you use two CRSR keys on the main keyboard and
the SHIFT key to move the cursor, as described in Section 3.

PROGRAMMING FUNCTION KEYS IN C64 MODE

The four keys to the right side of the keyboard, just above the
numeric keypad, are called function keys. The keys are marked
F1, F3, F5 and F7 on the tops and F2, F4, F6 and F8 on the fronts.
These keys can be programmed — that is, they can be
instructed to perform a specific task or function. For this reason,
these keys are often called programmable function keys.
You must hold down the SHIFT key to perform the functions
associated with the markings on the front of the keys — that is,
F2, F4, F6 and F8. Therefore, these keys are sometimes called
the SHIFTed programmable function keys.
The function keys in C64 Mode do not have a printed character
assigned to them. They do, however, have CHR$ codes
assigned, ln fact, each of them has two CHR$ codes - one for
when you press the key by itself, and one for when you press the
key while holding down the SHIFT key. To get the even-
numbered function keys, hold down the SHIFT key while pressing
the function key. For example, to get F2, hold down SHIFT and
press F1.
The CHR$ codes for the F1-F8 keys range from 133 to 140.
However, the codes are not assigned to the keys in numerical
order. The keys and their corresponding CHR$ codes are as
follows:
F1
CHR$(133)
F2
CHR$(137)
F3
CHR$(134)
F4
CHR$(138)
F5
CHR$(135)
F6
CHR$(139)
F7
CHR$(136)
F8
CHR$(140)
9-4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

128d

Table of Contents