delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/09/24/08:16:41

Date: Tue, 24 Sep 1996 14:01:04 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Chris Matrakidis <cmatraki AT eleceng DOT ucl DOT ac DOT uk>
Cc: djgpp-workers AT delorie DOT com
Subject: Re: `_flush_disk_cache'
In-Reply-To: <26283.9609231805@baldrick>
Message-Id: <Pine.SUN.3.91.960924135705.11882B-100000@is>
Mime-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019