www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/04/11/14:47:40

Date: Mon, 10 Apr 1995 13:37:17 -0300 (ADT)
From: Bill Davidson <bdavidson AT ra DOT isisnet DOT com>
Subject: RE: timers and smartdrive.exe
To: "Kevin Ashley, Systems Development, ULCC" <CZIWKGA AT VMSFE DOT ULCC DOT AC DOT UK>
Cc: DJGPP <DJGPP AT sun DOT soe DOT clarkson DOT edu>


On Wed, 5 Apr 1995, Kevin Ashley, Systems Development, ULCC wrote:

> 
> I am sure it is also possible for a program to interact with smartdrive
> to force it to flush and empty its cache, since some Microsoft tools
> obviously make use of this. How one actually does this I have no idea.
> Perhaps someone else on this list can shed light.
> 

This rang a bell, so I went to my bookcase and dug out Dr. Dobb's 
Journal, #184 (Jan. 1992), and there was an article called "Untangling 
SMARTDrive" by Geoff Chappell (pp 64-72).  In it he presents the IOCTL 
interface to SmartDrive; apparently the IOCTL Write command 01h is 
"Flush and reset".  Does djgpp include an IOCTL interface function?  If 
not, it is left as an exercise for the reader to brush up on the asm 
IOCTL interface and roll his own!
Good luck.
Bill Davidson
bdavidson AT ra DOT isisnet DOT com

- Raw text -


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