◄Example► ◄Back► ◄Contents► ◄Index► ────────────────────────────────────────────────────────────────────────────── ;* GetCurDisk - Gets designation of current disk. ;* ;* Shows: DOS Function - 19h (Get Current Disk) ;* Instruction - cbw ;* ;* Params: None ;* ;* Return: Short integer with drive designation ;* 0 = A, 1 = B, 2 = C, etc. GetCurDisk PROC mov ah, 19h ; DOS Function 19h int 21h ; Get Current Disk cbw ; AX = drive designation ret GetCurDisk ENDP -♦-