www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/09/03:45:44

Date: Tue, 9 Apr 1996 10:39:50 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Lee Braiden <lee_b AT celestia DOT dnet DOT co DOT uk>
Cc: djgpp AT delorie DOT com
Subject: Re: Critical Error Handler
In-Reply-To: <9604080633.AA23747@is.elta.co.il>
Message-Id: <Pine.SUN.3.91.960409103550.24867K-100000@is>
Mime-Version: 1.0

On Mon, 8 Apr 1996, Lee Braiden wrote:

> Actually, I hadn't seen Abort/Retry/Fail - I'd just assumed I'd need 
> to handle it.  What I have seen is the message "Please insert the 
> disk for drive B" (you know, when you've a single floppy, and you 
> access the other drive ? - Is this on the same interrupt  ?  If not, 
> how do I stop it ?

That's not Int 24h.  That's just DOS that knows that on single-floppy
systems both a: and b: are mapped to the same physical drive.  There is a
DOS call which can tell you what is the mapping, if any, of a given drive. 
For an example of how to use it, look into the library sources
(djlsr200.zip), file src/libc/compat/mntent/mntent.c.  The function
`getmntent' there uses that DOS function to avoid popping the above
message when it reports both a: and b: drives on single-floppy systems. 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019