add code to use ISA PnP library
added new code to detect if SMARTDRV is resident (MS-DOS disk cache) and
to print a warning if so. The reason is that some parts of the program
support taking a "snapshot" and they assume that after writing the file
and closing, MS-DOS will not touch the hard drive again until file I/O
is attempted again. SMARTDRV violates that by flushing in the
background, likely at a time when the code has re-hooked the IDE IRQ and
is using the IDE controller. Without this check, depending on how the
BIOS talks to the hard drive, SMARTDRV will cause a hang when it
attempts to call INT 13h to write while our code is using the IRQ. This
fix 1) prints a warning message stating that IDE testing with SMARTDRV
active is not recommended and 2) always flushes the disk cache before
hooking the IRQ and after writing snapshot data to disk. Hopefully, this
makes it possible to take a snapshot of the IDE IDENTIFY DEVICE results
to the same hard drive even if SMARTDRV is resident.
SMARTDRV 3.xx (MS-DOS 5.0) detection and flushing.
move smartdrv detection into DOS lib.
don't compile in SMARTDRV support for 32-bit Windows and OS/2
no, smartdrv detection is ONLY for DOS. not Windows. not OS/2.
add program to test SMARTDRV detection