Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Assembly Language - <b>function 0eh (14) select default drive</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 0Eh (14)        Select Default Drive

    Sets the default drive and returns the number of logical drives in the
    system.

       On entry:      AH         0Eh
                      DL         Drive number (0=A, 1=B, etc.)

       Returns:       AL         Number of logical drives in system

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

       Notes:         The floppy disk on a single floppy system is counted
                      as two logical drives, A: and B:.

                      DOS 3 and later versions report a minimum of 5
                      logical drives, unless the CONFIG.SYS file contains
                      a LASTDRIVE statement.

                      To determine the number of physical floppy drives on
                      the system, use Interrupt 11h (17). To determine the
                      number of physical hard drives, use Interrupt 13h,
                      Function 8.

See Also: INT 11h INT 13h, 08h

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