AMSTRAD cpc 6128 User Instruction page 225

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

Advertisement

Eor
POS(#9)
These functions operate on cassette as per disc.
INPUT #9
LINE INPUT # 9
OPENIN and CLOSE IN
You need not specify the filename if you wish the first suitable file on the cassette to
be loaded. Example command:
OPENIN
fIll
You will be instructed:
Press PLAY then any key:
.... whereupon you should press the PLAY button on your cassette unit, followed by
one of the keys on the computer. The tape in the cassette will start turning, and the
computer loads the first 2K bytes of the file into a portion of the memory called the
'file buffer'. Input is taken from the file buffer until it is empty, and the computer
again prompts:
Press PLAY then any key
.... and loads the next 2K bytes from the file.
The screen will display the loading messages:
Loading FILENAME bLock 1
.... and other block numbers in turn, as the file is loaded.
If the first character of the file name in the 0 PEN I N command is
!
then the above
messages will be suppressed, and you will not be required to 'press any key' for the file
to load. (You must make sure that the PLAY button on your cassette unit is down.) If
your programs use the
!
mark and are also required to run on disc, the
!
mark will be
ignored during disc operation (when the disc filename is being read). Note that the
!
mark does NOT occupy one of the character positions in the cassette or disc filename.
Abandoning file input using the
[ESC]
key produces the error message on the screen:
Broken in
Ifthe file does not successfully load, read the paragraph entitled 'Read errors' earlier
in this section.
Chapter 4 Page 14
Using Discs and Cassettes

Advertisement

Table of Contents
loading

Table of Contents