Date: Mon, 10 Apr 1995 13:37:17 -0300 (ADT) From: Bill Davidson Subject: RE: timers and smartdrive.exe To: "Kevin Ashley, Systems Development, ULCC" Cc: DJGPP 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