Amstrad DDI-1 Computer Drive User Manual


 
Value Hex Value Decimal Operation
&14
20
Clear from and including the current cursor position to
end of window.
&18 24 Toggle into/out of Inverse video.
&1E 30 Home cursor.
&lF <c> <r> 31 <c> <r> Move cursor to given position in current window.<c>
is column, normally 1..80, <r> is row, normally 1-25.
1.5.2.2 Configuring the Input to the package.
The programs in the package will expect to be able to interrogate the keyboard. Most
of the keys on the CPC464 keyboard return standard values except for the cursor keys.
It is possible to use the SETUP utility (see CP/M primer) to re-define the codes
produced by the keyboard, although, where possible, it is preferable for each different
package to be configured to accept the standard default values.
The column marked 'WP Value' in the table below indicates typical values which
might be set into the keyboard via the SETUP utility in a word processing environment
if, for example, cursor codes are required from both the cursor key cluster and a
portion of the keyboard, and the Word Processing package is only capable of
recognising one unique code for each operation.
The installation procedure for a package will normally consist of asking a number of
questions about the parameters of the CPC464 keyboard. The answers should be
derived from the table below, which is an extract from the Amstrad BASIC reference
Manual SOFT157:
Key Name Value Hex Value
Decimal
[Key number if required
to use SETUP utility]
WP Value
(Decimal)
Cursor up &F0 240 0 5
Cursor right &F3 243 1 4
Cursor down &Fl 241 2 24
Cursor left &F2 242 8 19
C1r &10 16 16 7
Return &0D 13 18 13
Space &20 32 47 32
Escape &FC 252 66 27
Tab &09 9 68 9
Del &7F 127 79 127
1.5.3 Starting a Turnkey CP/M Package.
Normally all that is required is to type the package's main program name at the A>
prompt. For example, to run a wages program called PAYROLL.COM simply type
PAYROLL
Chapter 1.5 AMSTRAD Disc Drive & Interface DDI-1 Manual