Article View: comp.os.msdos.programmer
Article #334Handling logical floppy (Insert diskette for B:) yourself?
From: Eric A. Raymond
Date: Sun, 09 Aug 1992 20:32
Date: Sun, 09 Aug 1992 20:32
23 lines
1434 bytes
1434 bytes
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?
Technical Details
Message-ID:
<1992Aug9.203242.21032@kronos.arc.nasa.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!sun-barr!ames!kronos.arc.nasa.gov!raymondShow Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!sun-barr!ames!kronos.arc.nasa.gov!raymond From: raymond@kronos.arc.nasa.gov (Eric A. Raymond) Subject: Handling logical floppy (Insert diskette for B:) yourself? Message-ID: <1992Aug9.203242.21032@kronos.arc.nasa.gov> Sender: usenet@kronos.arc.nasa.gov (Will Edgington, wedgingt@ptolemy.arc.nasa.gov) Nntp-Posting-Host: copernicus-arclan.arc.nasa.gov Organization: NASA Ames Research Center Date: Sun, 9 Aug 1992 20:32:42 GMT Lines: 25