PS: rwblock already calls DeleteBlockInBufferCache (NOT searchblock) in selected situations before calling dskxfer for the actual I/O. Maybe the problem simply is that int21_fat32 and int2526_handler should both use rwblock instead of the more low level dskxfer? All other uses of dskxfer look sensible to me, those really need the low level dskxfer function and are correctly avoiding rwblock. Regards, Eric
Either way, I recommend to NOT use getblk or searchblock when checking whether a given sector is in BUFFERS, because those have the here unwanted side-effect of ADDING the investigated sector to the BUFFERS cache rather than only SEARCHING for it.
_______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel