Article View: comp.os.msdos.programmer
Article #348Re: Handling logical floppy (Insert diskette for B:) yourself?
From: Eric DeVolder
Date: Mon, 10 Aug 1992 13:46
Date: Mon, 10 Aug 1992 13:46
37 lines
1922 bytes
1922 bytes
raymond@kronos.arc.nasa.gov (Eric A. Raymond) writes: >I have a program which runs in graphics mode. We need to deal with >logical floppies (i.e., A: and B: w/ only one real disk drive). >The problem is that the disk change message, "Insert diskette for >drive B: and press any key when ready", is printed directly to the >screen. >I would like to get control over this: > - at least capture it to a window > - possibly change the message to be more descriptive >How is this handled (DOS or BIOS) and how can I change the behavior? >One partial solution is to move the "text cursor" to a known position >and at least the message will come out there the first time. But this >is a kludge. >Another alternative is to just use a single drive an manage the >swapping directly (but there is a minor problem that files on the >other disk should be kept open across the swap process). >Does anyone know how to handle this for real? I was tired of this message popping up do to mistakes at the commandline that I wrote a program that simply disables the B: drive so that such a message doesn't appear. Actually, I can disable/enable any DOS logical drive [a-z] that I want with this program. This is not a coding solution for your problem, just one way that I solved mine. -- Eric DeVolder devolder@matt.ksu.ksu.edu KSU Computing and Network Services
Technical Details
Message-ID:
<165rvpINNpar@matt.ksu.ksu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!newsReferences:
<1992Aug9.203242.21032@kronos.arc.nasa.gov>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news From: devolder@matt.ksu.ksu.edu (Eric DeVolder) Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer Subject: Re: Handling logical floppy (Insert diskette for B:) yourself? Date: 10 Aug 1992 08:46:33 -0500 Organization: Kansas State University Lines: 37 Distribution: usa Message-ID: <165rvpINNpar@matt.ksu.ksu.edu> References: <1992Aug9.203242.21032@kronos.arc.nasa.gov> NNTP-Posting-Host: matt.ksu.ksu.edu