Mail Archives: djgpp/1997/01/08/22:16:33
From: | Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Detecting connected disk drives
|
Date: | Wed, 8 Jan 1997 19:14:17 +0000
|
Organization: | None
|
Lines: | 15
|
Distribution: | world
|
Message-ID: | <VxLWbFAJI$0yEwhL@talula.demon.co.uk>
|
NNTP-Posting-Host: | talula.demon.co.uk
|
MIME-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I have recently discovered a problem with the file selector routines in
Allegro, which is caused by selecting disk B: on a machine with only one
floppy drive. DOS displays the "please insert disk B into drive A"
message, which results in a lockup because the Allegro keyboard handler
prevents the continue keypress getting through to DOS.
I've racked my brains but can't think of any way round this - please
someone tell me there is an easy solution :-) I need to either disable
the message, or detect whether disk B really exists, but I have no idea
how to do either. Any ideas?
/*
* Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
* Ghoti: 'gh' as in 'enough', 'o' as in 'women', and 'ti' as in 'nation'.
*/
- Raw text -