delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/09/26/11:04:51

Date: Thu, 26 Sep 1996 16:52:59 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Mark Habersack <grendel AT ananke DOT amu DOT edu DOT pl>
Cc: Charles Sandmann <sandmann AT clio DOT rice DOT edu>, cmatraki AT eleceng DOT ucl DOT ac DOT uk,
djgpp-workers AT delorie DOT com
Subject: Re: `_flush_disk_cache'
In-Reply-To: <Pine.NEB.3.95.960926135911.22285B-100000@ananke.amu.edu.pl>
Message-Id: <Pine.SUN.3.91.960926164946.17125B-100000@is>
Mime-Version: 1.0

On Thu, 26 Sep 1996, Mark Habersack wrote:

> NT and OS/2 are in general pain in the neck. Under both environments some
> interrupts are supported only partialy (the same adhers to DOS emulation). The
> solution to make software work smoothly under these would be to use
> OS-specific calls (like VxD exported entries in NT, I don't know anything
> about OS/2). In NT there are, undoubtedly, exported VxD calls visible from DOS
> sub-system that allow doing this kind of things. I think, however, that under
> NT the Smartdrive call to flush the cache should be supported (well, it seems
> logical to me - somebody has to confirm it)

I don't call the SmartDrive function at all, only Int 13h, function 0
(reset disk) for DOS and a Windows95-specific function that flushes the
cache.  Int 13h seems to be a popular enough service to be supported even
on NT.  But if it isn't, I'd sure like to know how to call those VxDs that
cause the cache to flush on NT. 

- Raw text -


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