How To Recognize A Mac Disk Volume - Davong Mac Disk User Manual

Apples macintosh computer
Table of Contents

Advertisement

How to Recognize
a Mac Disk Volume
TechnicaL
You rarely need to mow
if
a volume is on the Mac
Disk, but
if
you do need to know, follow this procedure:
1.
From the VCB and/or Drive Queue entry, get the
driver reference number.
2.
Use the driver reference number to find the driver
code
in"
memory
(via
the
Unit
Thble and
DeE).
3.
Look at the driver name, which will be
.Mac
Disk.
For eaeh mounted Mac DiBk volume there will be an
entry
in
the drive queue. The drive number of each
mOWlted volume will be greater than or equal to
3. If
a Driver Status call (CSCode
=
DrvrStsCode) is made.
to the Mac Disk driver, infonnation about the driver
will be returned. This information will include a
stattlS byte indicating that the disk
is
not ejectable.
The infonnation returned
in
the status call
parameter block is as follows:
Table Cal.
CSParam
+
a
CSParam
+
2
CSParam
+
3
CSParam
+
4
CSParam
+
5
CSParam
+
6
CSParam
+
8
CSParam
+
10
undefined (word)
bit
i
equals
1
if write· protected (byte)
set to 8 for nonejectable disk (bytet
1
to indicate drive installed (byte)
bit i set to
1
since not '" one· sided Sony
(byteJ
drive number greater than or equal to
3
for
Mac Oisk (word)
driver refnum 'word)
FUe system to use is 0 'word)
C Copyright
1985
Davong Systems. Inc.
C-3

Advertisement

Table of Contents
loading

Table of Contents