🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #2102

Re: Finding available drives (using Microsoft C)

#2102
From: Steve Watson
Date: Thu, 06 Sep 1990 14:48
16 lines
1365 bytes
Further to the discussion on finding drives: I would like to know
how to determine whether a floppy drive has a diskette in it without
provoking the "Abort/Retry/Fail" message, which kind of messes up the screen
of the application.  MS-Windows seems able to do this: if you click on an
empty drive, you get a dialog box informing you of the situation.
So does PC-Tools.  I have read that the 'A/R/F' msg comes from BIOS. 

Is there perhaps some vector that can be hooked to intercept the floppy
error and do something more graceful with it?

BTW, does anyone know why A/R/F doesn't always respond to 
'a' or 'f' the first time?
================================DISCLAIMER=================================
Mitel pays me for my programs, not for my net postings.  There4, they own
the programs, including any errors found therein.  The postings, including
any errors, are mine alone.  - Steve Watson
Technical Details
Message-ID: <4306@duesling>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!samsung!uunet!spock!watson
References: <5181@munnari.oz.au> <6307@darkstar.ucsc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!samsung!uunet!spock!watson
From: watson@spock (Steve Watson)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Finding available drives (using Microsoft C)
Message-ID: <4306@duesling>
Date: 6 Sep 90 14:48:59 GMT
References: <5181@munnari.oz.au> <6307@darkstar.ucsc.edu>
Reply-To: watson@duesling (Steve Watson)
Organization: Mitel. Kanata (Ontario). Canada.
Lines: 16