Mail Archives: djgpp-workers/1996/09/24/08:16:41
On Mon, 23 Sep 1996, Chris Matrakidis wrote:
> I looked at smartdrv, ncache2 and superpck and found out that they all
> trap the dos disk reset (int 21 function 0d). Since this function doesn't
> need a drive parameter, then this may be a better choice than the bios disk
> reset.
Why should we assume that floppy drives aren't cached? I know quite a
few people who use write-behind caching on A: and B: too.
Btw, if anybody knows a simple enough way to map DOS drive letters to
BIOS drive numbers, I'd like to know about it. Right now,
`_flush_disk_cache' does a questionable job here (although I wasn't able
to crash it even when I launched it from a CD-ROM drive). How can I know
if e.g. drive F: belongs to the first physical drive (0x80 in BIOS
parlance) or to the second (0x81 for BIOS)?
- Raw text -