Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Int 21h Function 36h
 Detail Example                          Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   36h
 
  Title:       Get Drive Allocation Information
 
  See also:    Get Drive Data, Get Drive Parameters, Select Disk,
               @ChkDrv
 
  Description:
 
     Obtains selected information about a disk drive, from which the
     drive's capacity and remaining free space can be calculated.
 
     Input                             Output
 
     AH = 36h                          If function successful
     DL = Drive code (0 = default,       AX = Sectors per cluster
          1 = A,...)                     BX = Number of available
                                              clusters
                                         CX = Bytes per sector
                                         DX = Clusters per drive
 
                                       If function unsuccessful
                                       (drive invalid)
                                         AX = FFFFh
                                    -♦-