AMSTRAD cpc 6128 User Instruction page 226

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

Advertisement

LIST #9
OPENOUTandCLOSEOUT
PRINT #9
WRITE #9
You need not specify the filename if you wish the file to be saved as an Un n a me d
f i Le. Example command:
OPENOUT
1111
The first 2K bytes of the file to be saved to cassette will first be written into a portion
of the memory called the 'file buffer'. When the file buffer is full, you will be
instructed:
Press REC and PLAY then any key:
.... whereupon you should press the RECORD and PLAY buttons on your cassette unit,
followed by one of the keys on the computer. The tape in the cassette will start
turning, and the computer saves the contents of the file buffer. The computer then
refills the file buffer with the next 2K bytes ofthe file, and again prompts:
Press REC and PLAY then any key:
.... and saves the next 2K bytes to cassette.
If the file buffer is partly full and the command C LOS EO UT is encountered, the
computer will save the remaining contents of the file buffer to cassette, issuing the
prompt:
Press REC and PLAY then any key:
The screen will display the saving message:
S
a v
i
n
9 F I LE N A M E b L
0
c
k
<x>
If the first character of the filename in the 0
PEN
0 U
T
command is ! then the above
messages will be suppressed, and you will not be required to 'press any key' for the file
to save. (You must make sure that the RECORD and PLAY buttons on your cassette
unit are 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 output using the [ESC] key produces the error message on the
screen:
Broken in
Using Discs and Cassettes
Chapter 4 Page 15

Advertisement

Table of Contents
loading

Table of Contents