Mail Archives: djgpp-workers/1996/09/27/09:03:02
On Thu, 26 Sep 1996, Eli Zaretskii wrote:
>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
Yes, I've seen it. I think that there should be a special case for NT which is
very touchy when it comes to allowing DOS apps messing up with hardware
directly. SmartDrive call is very likely to be emulated by DOS VM as it is the
standard way Micro$oft recommends for flushing cache.
>cache. Int 13h seems to be a popular enough service to be supported even
I suppose there is at least one thing that may prevent this call from being
successful. It is NT disk stripping. NT is able to create virtual drives that
span their partitions through the physical drives. It is not guaranteed that
the 'strip' (or virtual partition) will be on two drives attached to the same
controller. Int 13h fun 0 however resets only ONE controller, AFAIK. This
would mean destroying disk logical structure and thus is probably intercepted
and prohibited on NT.
>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.
I have some help files about WIn95 VxD calls. I guess it doesn't hurt to check
whether these work on NT also. I'll browse through the docs and try to find
some info.
---------------------------------------------------------------------------
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 -