DOS_FREE_SPACE

Get free space on drive
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.
Last modified November 24, 2021: Start of +3DOS documentation (253d8cc)