🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help: Finding legal drives on system

#5106
From: Jim Nelson
Date: Mon, 11 Mar 1991 01:47
14 lines
1102 bytes
In article <3815@ac.dal.ca> merrett@ac.dal.ca writes:
>Is there any way of checking for 'legal' drives on a particular system, in
>C, without actually having to read from the drive?  (i.e. I don't want it
>plopping that 'insert floppy' message in the middle of my pretty windows)

About the only way to do it is to check the biosequip word for number of
floppies.  I don't know it's memory address at the moment, but TC has a
function to find it for you, then you do a little bit manipulation to do the
rest.
-- 
.sig?  What .sig?  Ohhhh, *THIS* .sig.

	Jim, in the Land of the Lost. 
disclaimer:  These are just opinions.  If you want 'em, you can have 'em.
Technical Details
Message-ID: <8795@plains.NoDak.edu>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!sol.ctr.columbia.edu!emory!ogicse!plains!jnelson
References: <3815@ac.dal.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!sol.ctr.columbia.edu!emory!ogicse!plains!jnelson
From: jnelson@plains.NoDak.edu (Jim Nelson)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Help: Finding legal drives on system
Message-ID: <8795@plains.NoDak.edu>
Date: 11 Mar 91 01:47:44 GMT
References: <3815@ac.dal.ca>
Organization: North Dakota State University, Fargo, ND
Lines: 14