Amstrad DDI-1 Computer Drive User Manual


 
CLOAD can take two parameters, the first is the source (Cassette) filename, enclosed in
double quotes, and the second the destination (disc) filename. If the destination
filename is omitted, the disc file will have the same name as the cassette file. If the
source filename is omitted then CLOAD reads the first file encountered on the tape. If
the first character of the cassette filename is ! then the normal cassette messages will
be suppressed. Example command:
CLOAD "MYLETTER" MYLETTER.TXT
CSAVE can take three parameters. The first is the source (disc) filename and the
second the destination (cassette) filename, enclosed in double quotes. If the destination
filename is omitted, the cassette file will have the same name as the disc file. If the
first character of the cassette filename is ! then the normal cassette messages will be
suppressed. If both filenames are specified then a third parameter may be used to
specify the tape write speed; 0 for nominal 1000 baud, 1 for nominal 2000 baud.
Example commands:
CSAVE OUTPUT.TXT "OUTPUT TEXT" 1
CSAVE DATAFILE
3.7.3 System Management
3.7.3.1 STAT
STAT provides more sophisticated directory (and peripheral) management. All the
normal rules apply to the filenames, including the use of wild-cards. Facilities are
provided to:
Display disc status and free space:
STAT
STAT A:
STAT B:
Display extended directory information about a particular file:
STAT *.COM
STAT EX1.BAS
Set a file to Read-only status , so that it cannot be accidentally erased or overwritten:
STAT *.COM $R/O
STAT EX1.BAS $R/O
Set a file to Read-write status, reversing the Read-only assignment:
STAT *.COM $R/W
STAT EX1.BAS $R/W
Set a file to 'System' status so that it is invisible to directory listings and file copying
programs. The file will still be available for all other purposes:
STAT *.COM $SYS
STAT SECRET.BAS $SYS
AMSTRAD Disc Drive & Interface DDI-1 Manual Chapter 3.6