DOS Fn 1cH: Get Drive Info (any disk)
Compatibility: 2.0+
Expects: AH 1cH
DL drive number (0=default, 1=A, etc).
──────────────────────────────────────────────────────────────────
Returns: DS:BX address of a FAT ID byte (might indicate disk type)
DX total clusters (allocation units) on the disk
AL sectors per cluster
CX bytes per sector
─────────────────────────────────────────────────────────────────
Info: Returns information on the size and type of the default disk.
Same as DOS Fn 1bH (get FAT current drive) except that DL
specifies the drive for which you want the information.
Disk size in bytes = (DX * AL * CX).
Find free space with DOS Fn 36h Disk Free or 32h Disk Info.
Warning: Notice that this changes the value of DS segment register.
Versions: Not documented for DOS 1.x
See Also: Fns 1bH 36H 32H
File Allocation Table
DOS Functions
-♦-