AMSTRAD cpc 6128 User Instruction page 257

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

Advertisement

.... and the attributes can be altered by commands such as:
DE V ICE S I 0 [ 1 200]
.... sets S I 0 to 1200 baud.
DEVICE SIO[XON]
.... toturnonSIO XON/XOFFprotocol.
DEV ICE S 10 [NOXON]
.... to turn off S 10 XON/XO F F protocol.
The connections between logical and physical devices can be altered. Normally
CON: is set to C R T (keyboard/screen), A U X: is set to SI 0 (the optional serial
interface), and L S
T :
is set to LP
T
(the Centronics printer interface). The command:
DEVICE LST:=SIO
.... will send the printer output to the serial interface (if fitted).
Note how this is a channel re-direction, not to be confused with the file copying
facilities provided by PIP. The two commands GET <filename> and PU T < filename >
re-direct console input or output, and printer output, instructing them to use a file,
rather than the device channel.
PIP
The PIP utility (Peripheral Interchange Program) allows you to transfer
information between the computer and its peripherals.
In general, the form of the command is:
PIP <destination> = <source>
The <source> and <destination> can be either a filename, with wild-cards allowed in
the source, or a logical device. The following logical devices may be used:
As Source
CON:
AUX:
EOF:
console input
auxiliary input
an end-of-file mark
Examples of PIP:
PIP B:=A:*.COM
As destination
CON:
AUX:
LST:
PRN:
console output
auxiliary output
printer
a printer with added tab
expansion, line numbers and page
breaks
.... copy all
* .
CO M file from Drive A : to Drive B :
Chapter 5 Page 28
AMSDOS and CP/M

Advertisement

Table of Contents
loading

Table of Contents