INT 21 - DOS 2+ - GET DISK SPACE                       

Input

DOS1 N DOS2 Y

DOS3

Y DOS5 Y

Output

AX

36h   Sectors Per Cluster(FFFFh=Invalid) AX

BX

    Available Clusters BX

CX

    Bytes per Cluster CX

DX

  Drive(0=Def,1=A) Total Clusters DX

ES:DI

    CF
Note:   * Multiply AX * CX * BX for free space on disk

        * Multiply AX * CX * DX for total disk space

See Also 1Bh 1Ch 44h/00h


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .