Function 440Dh /68h     Sense Media Type                             DOS 5.0+

Returns the media type for the specified block device.

Entry AX = 440Dh
BX = Drive number (0 = default, 1 = A, etc.)
CH = 08h (device category, must be 8)
CL = 68h
DS:DX = Pointer to 2-byte input buffer

Return Input buffer filled
or
AX = Error code, if CF is set
| 01h Invalid function
| 05h Access denied
| ?? Device-dependent error

──────────────────────────────────────────────────────────────────

Format of input buffer:

Offset Description
00h 1 = media type is the default value
0 = other type
01h 02h = 720K disk
07h = 1.44 MB disk
09h = 2.88 MB disk

This function returns an error value of 5 (access denied) if the
media type for the specified drive cannot be determined or the
given drive is not ready.