delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/09/10/08:08:18

Date: Tue, 10 Sep 1996 13:58:31 +0200 (MET DST)
From: Mark Habersack <grendel AT ananke DOT amu DOT edu DOT pl>
Reply-To: grendel AT ananke DOT amu DOT edu DOT pl
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: djgpp-workers AT delorie DOT com
Subject: Re: `sync' on MSDOS
In-Reply-To: <Pine.SUN.3.91.960909192156.8698D-100000@is>
Message-ID: <Pine.NEB.3.95.960910135634.2514B-100000@ananke.amu.edu.pl>
MIME-Version: 1.0

On Mon, 9 Sep 1996, Eli Zaretskii wrote:

>So: does anybody know a simple way to cause *any* cache to flush itself?  
>Here is what I know:
>
>	1) Windows 95 has a function (710Dh) to do that.
>	2) SmartDrv has also such a function.
>	3) Any other cache has such function also, but it's impossible to 
>call them all.
>
>I suspect that making an Int 13h call (e.g., seek to track 0, or disk 
>reset) will also flush the cache, but does anybody know for sure?
This should do. I saw a shareware disk editor which did just that. All disk
caches intercept INT 13h reset call and flush their buffers when the request
is made. I remember someone saying that Norton Utilities does just that to
flush caches.

**********************************************************************
So if you ask me how do I feel inside, I could honestly tell you we've
been taken on a very long ride. And if my owners let me have free time
some day, with all good intention I would probably run away!
Clutching the short straw....
******************* http://ananke.amu.edu.pl/~grendel ****************

- Raw text -


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