delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/09/26/08:16:30

Date: Thu, 26 Sep 1996 14:02:44 +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: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
cc: eliz AT is DOT elta DOT co DOT il, cmatraki AT eleceng DOT ucl DOT ac DOT uk, djgpp-workers AT delorie DOT com
Subject: Re: `_flush_disk_cache'
In-Reply-To: <9609251423.AA17560@clio.rice.edu>
Message-ID: <Pine.NEB.3.95.960926135911.22285B-100000@ananke.amu.edu.pl>
MIME-Version: 1.0

On Wed, 25 Sep 1996, Charles Sandmann wrote:

>> I think INT 13h is better and only hardware platform dependent, it'll work on
>> any OS not only on DOS.
>
>Int 13h is not completely implemented on some systems (like NT) so this
>needs to be tested in that environment to make sure it doesn't pop up
>a box and tell you this application can't be run (security issues).
>
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)

---------------------------------------------------------------------------
You can't brush me under the carpet, you can't hide me under the stairs,
The custodian of your private fears, your leading actor of yesteryear,
Who as you crawled out of the alleys of obscurity, sentenced to rejection
 in the morass of anonymity. You who I directed with a lover's will, you
 who I let hypnotise the lens. You who I let bathe in the spotlights glare.
You who wiped me from your memory like a greasepaint mask, just like a
 greasepaint mask...
-------------------- http://ananke.amu.edu.pl/~grendel -------------------

- Raw text -


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