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 19h (25) get current disk</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 19h (25)        Get Current Disk

    Gets the drive number of the current default drive.

       On entry:      AH         19h

       Returns:       AL         Number of default drive (A = 0, B = 1, etc.)

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

       Note:          The drive numbers returned by this function are one
                      less than the drive numbers used by many functions;
                      many functions use 0 for the default drive and start
                      with A = 1 (rather than A = 0).

See Also: 0Eh

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