Amstrad DDI-1 manual Configuring a CP/M Program, Configuring the Output from the package

Models: DDI-1

1 103
Download 103 pages 20.5 Kb
Page 32
Image 32

Although the instructions below are for a single drive disc system, it is in general, simplest to follow them also if you have a twin disc system (by ignoring the second drive).

Firstly format a new system disc. Then copy all the programs from your master package disc using FILECOPY from your System/Utility disc.

Type FILECOPY *.* and follow the instructions on the screen. In particular answer N to the question:

Ambiguous filename: Confirm individual files (Y/N) ?

The FILECOPY program will inform you of the filenames as they are copied.

When the FILECOPY program has finished you will have a working copy of the turnkey disc. If you require any utilities, copy them from your System/Utilities disc using FILECOPY.

1.5.2 Configuring a CP/M Program

The CPC464 supports a wide range of control codes suitable for customising a software package to run with CP/M. Most data-processing any many other packages require to be able to print messages at any part of the screen, accept input from any part of the screen and generally understand cursor controls.

If your package has already been customised for the CPC464 then you need not concern yourself further.

1.5.2.1 Configuring the Output from the package.

The installation procedure for a package will normally consist of running a special program (often called INSTAL) which will ask a number of questions about the parameters of the CPC464 screen. The answers should be derived from the table below, which is an extract from the Amstrad BASIC reference Manual SOFT157:

Value Hex

Value Decimal

Operation

 

&07

7

Sound Bleeper

 

&08

8

Move cursor back one position.

 

&09

9

Move cursor forward one position.

 

&10

10

Move cursor down one line.

 

&0B

11

Move cursor up one line.

 

&0C

12

Home cursor and clear screen.

 

&0D

13

Move cursor to left edge of window on current line.

&10

16

Delete character at cursor position.

 

&11

 

Clear from left edge of window to and including the

 

17

cursor position.

 

&12

 

Clear from and including the current cursor position to

 

18

right edge of window.

 

&13

 

Clear from start of window to and including the

 

19

current cursor position.

 

AMSTRAD Disc Drive & Interface DDI-1 Manual

Chapter 1.4

Page 32
Image 32
Amstrad DDI-1 manual Configuring a CP/M Program, Configuring the Output from the package