Configuring The Input To The Package - AMSTRAD cpc 6128 User Instruction

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

Advertisement

Control
Codes
Hex
Decimal
Operation
[BEL]
&07
7
Sound Bleeper.
[BS]
&08
8
Move cursor back one position.
[LF]
&OA
10
Move cursor down one line.
[CR]
&OD
13
Move cursor to left edge of window on
current line.
[ESC]A
&lB &41
27 65
Move cursor up one line.
[ESC]C
&lB &43
27 67
Move cursor forward one position.
[ESC]E
&lB &45
27 69
Clear screen.
[ESC]H
&lB &48
27 72
Home cursor.
[ESC]J
&lB &4A
27 74
Clear from and including the current
cursor posi tion to end of screen.
[ESC]K
&lB &4B
27 75
Clear from and including the current
&4C
f
cursor position to right edge of screen.
[ESC]L
&lB
27 76
Insert Line.
[ESC]M
&lB &4D
27 77
Delete line.
[ESC]N
&lB &4E
27 78
Delete character at cursor position.
[ESC]Y
&lB &59
27 89
Move cursor to given position on
<c>
<r>
<c> <r>
screen. <c> is column
+
32,
<r> is row
+
32.
[ESC]d
&lB &64
27 100
Clear from start of screen to and
including the current cursor position.
[ESC]o
&lB &6F
27 111
Clear from left edge of screen to and
including the cursor position.
[ESC]p
&lB &70
27 112
Enter inverse video.
[ESC]q
&lB &71
27 113
Exit inverse video.
Configuring the Input to the package
The programs in the package will expect to be able to interrogate the keyboard. Most
ofthe keys on the 6128 keyboard return standard values except for the cursor keys.
It
is possible to use the SET KEY S utility to re-define the codes produced by the
keyboard, although where possible, it is preferable for each different package to be
configured to accept standard values.
It is an unfortunate fact that there is not a general understanding between different
items of software as to which keystroke to use for control functions. Printable
characters, and 'space',
[TAB]
and
[RETURN]
are fairly universal, but disagreement
sets in with 'backspace', and from there-on, matters get worse! Compare for example,
the different codes expected for the operation 'move cursor to start ofline':
CP/M
Commands require:
[CONTROl]B
Dr. LOGO requires:
[CONTROl]A
.... and a typical wordprocessor might require:
[CONTROl]Q
S
Using Discs and Cassettes
Chapter 4 Page 7

Advertisement

Table of Contents
loading

Table of Contents

Save PDF