Date: Tue, 10 Sep 1996 13:58:31 +0200 (MET DST) From: Mark Habersack Reply-To: grendel AT ananke DOT amu DOT edu DOT pl To: Eli Zaretskii cc: djgpp-workers AT delorie DOT com Subject: Re: `sync' on MSDOS In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 ****************