This the multi-page printable view of this section.Click here to print.

Return to the regular view of this page.

DOS_FREE_SPACE

Get free space on drive

Table of Contents

Function AddressDescription
DOS_FREE_SPACE 0121Get free space on drive

Synopsys

Return the amount of free space on a drive.

Entry Parameters

Register Content
A Drive letter A…P

Exit Parameters

If OK:
Carry true
A corrupt
HL = Free space in KB
Otherwise:
Carry false
A=Error code
HL corrupt
Always:
BC DE IX corrupt, all other registers preserved.