On Tue, 11 Feb 2014, Glenn Roberts wrote:
it's been many years... but don't you have to
issue a disk reset if you
know the drive is swapped? either via BIOS (INT 13h, AH=0) or DOS (INT
21h, AH=0Dh)? this flushes buffers in RAM and refreshes key tables.
DO BOTH!
INT 13h does NOT flush the DOS buffers.
Is this software only for your own use, or for release to the public?
If for your own use, use DOS 6.2x if you're gonna use SMARTDRV! Delayed
writes are disastrous on removable disks, and even risky on fixed disks.
During the Beta of Windoze 3.10, and then launch of DOS 6.00, I was one of
the hundreds of people whom MICROS~1 ignored who found out the problems of
delayed writes, and rearranged writes. At that point, we predicted
massive [expensive] recalls (the DOS 6.2x "step-up"s when 6.00 started
eating data). (Rather than acknowledge a fault, MICROS~1 let the press
continu blaming "Disk Compression" for the damage that SMARTDRV was
doing.)
--
Grumpy Ol' Fred cisin at
xenosoft.com
http://www.xenosoft.com/FPUIB