Sharp mz-3500 Manual For Use page 222

Business computer eos 3.0
Hide thumbs Also See for mz-3500:
Table of Contents

Advertisement

Section A:
System interface
************************************************************************
*
*
*
46 -
Return Remaining Disk Space
*
*
*
************************************************************************
On entry:
c
E
On return:
A
H
2EH
Drive
Error code
Physical error code
Possible logical errors:
- none -
Possible physical errors:
l
Read/write error
4
Drive not selectable
Diff€rences to CP/M plus:
The High byte is always zero.
Differences to CP/M 2.2 resp. DiCOS:
New function.
The
free
space
on
the disk in the specified drive
is
computed
and
deposited in the first three bytes of the
DMA
buffer. The least signifi-
cant byte is then to be found in the first byte of the buffer,
and
the
next most significant in the second byte.
EOS
always returns zero in the
third
byte of the buffer.
The number thus specified denotes the amount
of
unallocated blocks of 128 bytes each.
To obtain the free
space
as
measured in Kbytes, divide 8 into the number.
If
the drive specified is not yet defined,
it is accessed physically to
determine
its characteristics.
Physical errors occurring
during
this
read function are treated according to the current error handling mode.
EOS
System manual
Daeumling & Zimmermann
Page 85

Advertisement

Chapters

Table of Contents
loading

Table of Contents