Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- DOS 5.0 Ref. - <b>function 3305h get startup drive</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 3305h          Get Startup Drive

    Returns the drive that was used to load DOS.

        Entry   AX = 3305h

        Return  DL = Drive number (1 = A, 2 = B, 3 = C etc.)

    ------------------------------------------------------------------

    On a ROM-based version of DOS, there may be no startup drive; in
    this case, this function returns the number of the drive
    containing the CONFIG.SYS file.


    With DOS 5.0, function 3305h has been documented for DOS version
    2.0 and later.

See Also: 19h 0eh

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson