Message-ID: <323466B8.7D58@tempe.vlsi.com> Date: Mon, 09 Sep 1996 11:49:28 -0700 From: Charles Marslett Organization: VLSI Technology, Inc. MIME-Version: 1.0 To: Eli Zaretskii , djgpp-workers AT delorie DOT com Subject: Re: `sync' on MSDOS References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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