Commodore 128 Programmer's Reference Manual page 507

Hide thumbs Also See for 128:
Table of Contents

Advertisement

n
CP/M 3.0 ON THE COMMODORE 128
497
CODE
FUNCTION
P
OOh
Null (same as not pressing a key)
j {
01hto7Fh
Normal ASCII codes
80h to 9Fh
String assigned
AOh to AFh
80-column character color
H
BOh to BFh 80-column background color
< j
COh to CFh 40-column character color
DOh to DFh 40-column background color
EOh to EFh
40-column border color
j !
FOh
Toggle disk status on/off
Flh
System Pause
F2h
(Undefined)
r-j
F3h
40-column screen window right
I I
F4h
40-column screen window left
1
F5htoFFh (Undefined)
DEFINING A STRING
The DEFINE STRING function allows the user to assign more than one key code to a
single key. Any key that is typed in this mode is placed in the string. The user can see
the results of typing in a long box at the bottom of the screen. Note, however, that some
keys may not display what they are.
To allow the user control of entering data, five special edit functions are provided.
To access any of these functions, you first press the
CONTROL
and
RIGHT
SHIFT
keys. (This allows the user to enter any key into the buffer.)
The functions assigned to the five string edit keys are as follows:
KEY
FUNCTION
RETURN
End string definition.
+
symbol*
Insert space in string.
-
symbol*
Delete cursor character.
Right Cursor
Move cursor to right.
Left Cursor
Move cursor to left.
*On main keyboard only.
ALT MODE
This function is a toggle (on/off) and is provided to allow the user to send 8-bit
codes to an application without the keyboard driver *'eating" the code from 80h to
FFh.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents