www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/09/09/12:56:56

Message-ID: <323466B8.7D58@tempe.vlsi.com>
Date: Mon, 09 Sep 1996 11:49:28 -0700
From: Charles Marslett <charles DOT marslett AT tempe DOT vlsi DOT com>
Organization: VLSI Technology, Inc.
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp-workers AT delorie DOT com
Subject: Re: `sync' on MSDOS
References: <Pine DOT SUN DOT 3 DOT 91 DOT 960909192156 DOT 8698D-100000 AT is>

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?
> 
> Any other piece of info is welcome.  Thanks.

I remember a discussion about this in Geoff Chappell's book "DOS Internals."
I have it at home, and I'll check to see what sort of conclusion he came up
with (unless someone beats me to the punch).  I think the answer is that there
is a simple solution for any system that will run Windows 3.x reliably, and
that, along with the Win95 function, should address the vast majority of
cache environments.

--Charles

- Raw text -


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