Filenames On Two Drives - AMSTRAD cpc 6128 User Instruction

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

Advertisement

Notwithstanding the contents of the header, when AMSDOS is asked to LO A D a file
where no filetype is specified, then it first looks for a file oftype:
• <space>
If that does not exist, it looks for a file oftype:
.BAS
.... then finally, one oftype:
.BIN
This allows the user to abbreviate the filename, i.e. not needing to specify the
filetype, in most instances.
A disc data file started with the command 0 PEN 0 UT and subsequently written to,
will have no header, and the contents will be in ASCII, i.e. piain text, from the BASIC
W R I T E, PR I N T or LIS T commands. The disc command 0 PEN I N will search for
files in the same order as LOA D, ifnofile type is specified.
Filenames on two drives
On a 2-drive system, i.e. if an additional drive has been connected to the computer,
files can exist on either drive. The computer will not automatically look for a file on
both drives, so the user must specify which drive to use. You can either employ the
I A
or
I
B or
I
D R I
V
E commands (full description ahead) to select one or other drive, and
then use a normal filename, or alternatively you can override the default drive
assignment by specifying the drive as an A : or B: prefix to the filename. Thus, for
example:
IB
SAVE "PROG.BAS"
lA
.... and ....
lA
SAVE "B:PROG.BAS"
.... both save the program to the second drive, Drive B.
Chapter 5 Page 4
AMSDOS and CP/M

Advertisement

Table of Contents
loading

Table of Contents