Article View: comp.os.msdos.programmer
Article #3560Re: Checking for disk in drive ????
From: Christopher Lindsey
Date: Tue, 10 Nov 1992 15:58
Date: Tue, 10 Nov 1992 15:58
14 lines
1234 bytes
1234 bytes
john@fl_gator.b17a.ingr.com (John Eason) writes: >Hello, > Does anyone know how to check to see if a disk is in the floppy drive from code??? I am tired of seeing 'Abort/Retry/Fail' when there's not. Any help would be useful and appreciated. >Thanks. What you can try using is the BIOS disk services beforehand to check and see if there is a disk in the drive. INT 13,4 will do this for you, and return a value greater than zero in register AH if an error took place. At least this way you don't get the Abort/Retry/Fail message. Hope this helps! Christopher Lindsey -- Dept. of Landscape Architecture, Univ. of Illinois
Technical Details
Message-ID:
<BxICDq.47D@news.cso.uiuc.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!news.cs.indiana.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!cl27111References:
<1992Nov10.141134.2470@msdhsv.ingr.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!news.cs.indiana.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!cl27111 From: cl27111@uxa.cso.uiuc.edu (Christopher Lindsey) Subject: Re: Checking for disk in drive ???? References: <1992Nov10.141134.2470@msdhsv.ingr.com> Message-ID: <BxICDq.47D@news.cso.uiuc.edu> Sender: usenet@news.cso.uiuc.edu (Net Noise owner) Organization: University of Illinois at Urbana Date: Tue, 10 Nov 1992 15:58:37 GMT Lines: 15