en:docs:dos:api:int21:0e

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:docs:dos:api:int21:0e [2020/12/07 08:56] – created prokusheven:docs:dos:api:int21:0e [2024/05/11 06:17] (current) prokushev
Line 17: Line 17:
 ===== Input ===== ===== Input =====
  
-        AH = 0Eh +  * AH = 0Eh 
-        DL = new default drive (00h = A:, 01h = B:, etc)+  DL = new default drive (00h = A:, 01h = B:, etc)
  
 ===== Return ===== ===== Return =====
  
- AL = number of potentially valid drive letters+  * AL = number of potentially valid drive letters
  
 ===== Notes ===== ===== Notes =====
  
- under Novell NetWare, the return value is always 32, the number of drives that NetWare supports+under Novell NetWare, the return value is always 32, the number of drives that NetWare supports
  
- under DOS 3.0+, the return value is the greatest of 5, the value of LASTDRIVE= in CONFIG.SYS, and the number of drives actually present on a DOS 1.x/2.x single-floppy system, AL returns 2 since the floppy may be accessed as either A: or B: otherwise, the return value is the highest drive actually present+under DOS 3.0+, the return value is the greatest of 5, the value of LASTDRIVE= in CONFIG.SYS, and the number of drives actually present on a DOS 1.x/2.x single-floppy system, AL returns 2 since the floppy may be accessed as either A: or B: otherwise, the return value is the highest drive actually present
  
- DOS 1.x supports a maximum of 16 drives, 2.x a maximum of 63 drives, and 3+ a maximum of 26 drives+DOS 1.x supports a maximum of 16 drives, 2.x a maximum of 63 drives, and 3+ a maximum of 26 drives
  
- under Novell DOS 7, this function returns the correct LASTDRIVE value even when the undocumented LASTDRIVE=27..32 directive was used in CONFIG.SYS+under Novell DOS 7, this function returns the correct LASTDRIVE value even when the undocumented LASTDRIVE=27..32 directive was used in CONFIG.SYS
  
- "parse FCB" (see AH=29h) can be used to determine whether a drive letter is valid+"parse FCB" (see AH=[[en:docs:dos:api:int21:29|29H]]) can be used to determine whether a drive letter is valid
  
 ===== See also ===== ===== See also =====
  
-AH=19h,AH=3Bh,AH=DBh+AH=[[en:docs:dos:api:int21:19|19H]],AH=[[en:docs:dos:api:int21:3b|3BH]]
  
 ===== Note ===== ===== Note =====