Mail Archives: djgpp/1996/04/09/03:45:44
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 -