Keyboard - AMSTRAD cpc 6128 User Instruction

Integrated computer/disc system
Hide thumbs Also See for cpc 6128:
Table of Contents

Advertisement

Colour
Hex
Decimal
Colour
Hex
Decimal
Black
&00
0
Pastel blue
&2B
43
Blue
&02
2
Orange
&2C
44
Bright blue
&03
3
Pink
&2E
46
Red
&08
8
Pastel magenta
&2F
47
Magenta
&OA
10
Bright green
&30
48
Mauve
&OB
11
Sea green
&32
50
Bright red
&OC
12
Brightcyan
&33
51
Purple
&OE
14
Limegreeh
&38
56
Bright magenta
&OF
15
Pastel green
&3A
58
Green
&20
32
Pastelcyan
&3B
59
Cyan
&22
34
Bright yellow
&3C
60
Sky blue
&23
35
Pastel yellow
&3E
62
Yellow
&28
40
Bright white
&3F
63
White
&2A
42
Keyboard
The codes generated by the keyboard can be altered by the SET KEY S command. This
allows suitable codes to be assigned to keys and to expansion tokens. The actual codes
must be written into a file, whose name is then presented to the SET KEY S command.
The command file can be created by a text editor, by PIP, or even from BASIC. For
example:
SETKEYS KEYS.TST
.... where the file KE Y S • T S T contains:
E &8C
"D
I
RiM"
expansion token 12
8 N S C
"t
H " backspace
=
[CONTROl]H, ASCII 08
.... will firstly redefine the [CONTROL] [ENTER] expansion token (represented by
&8C) to be the string D I R [RETURN], and then turn the cursor left key
Q
(key
number 8) into a backspace.
Standard files provided with the 6128 are KEY S • CC P for
CP/M
command editing,
KEY S • D R L for use with Dr. LOGO (on Side 3), and KEY S • W P which is suitable for
many word processors.
AMSDOS and CP/M
Chapter 5 Page 25

Advertisement

Table of Contents
loading

Table of Contents