INT 21 - DOS 4.0+ - GET BOOT DRIVE
AX = 3305h
Return: DL = boot drive (1=A:,...)
Notes: This function does not use any of the DOS-internal stacks and may
thus be called at any time. It is directly dispatched from
the INT 21h entry point with interrupts disabled.
NEC 9800-series PCs always call the boot drive A: and assign the other
drive letters sequentially to the other drives in the system
this call is supported by OS/2 Warp 3.0, but not earlier versions of
OS/2; it is also supported by Novell DOS 7
the boot drive is the default drive during config processing
Enhanced DR-DOS and lDOS may set the boot drive to correspond to any
on-disk file system/partition if their kernels are loaded from a
given file system. if no exact partition match is found, then the
first partition logged in on the same unit may be used.
other DOS versions reportedly only support using drive A: or C: (or
possibly B:) as the boot drive; loading from an INT 13 unit >= 80h
will then select drive C: as boot drive.
SeeAlso: AX=335Fh