Direct Commands; Dir - Sharp MZ-80B Basic Manual

Personal computer double precision disc
Hide thumbs Also See for MZ-80B:
Table of Contents

Advertisement

18

2.1 Direct commands

2 . 1 . 1

DIR

DIR < FD d >
Format
d . . . . . drive number : 1 through 4
Displays the file directory of the diskette specified.
Function
When FDd is omitted, the value defaults to the number of the drive against which
Description
the last DIR F D d com mand was executed.
The contents of the directory are as follows :
When many files are contained on a diskette, the directory cannot be displayed in
a single frame. The display is fixed once a frame is fi lled, and the cursor appears.
The frame containing the remainder of the directory can then be brought to the
screen by pressing the
can be executed.
2 . 1 .2
DIR/P
D I R < FD d >
Format
d . . . . . drive number
Prints the directory o f the diskette in drive d on the line printer.
Function
Volume number
For the master diskette, "MASTER" is displayed.
The number of unused sectors remaining.
Mode, lock condition and file name of each fi le on the diskette.
The four file modes are indicated with the following codes :
BTX : BASIC text fi le
BSD
: BASIC sequential access fi le
B RD : BASIC random access fi le
OBJ
: Object file
To indicate the lock condition, an asterisk is attached to the fi le mode.
Locked files cannot be overwritten or deleted, nor can their names be changed.
The fi le name specified during fi le creation must be always used to call the
f ile.
/P
:
1 through 4
key. When the display is fi xed, another command

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents