"Jim Leonard" <
moby...@gmail.com> wrote in message
news:93a63172-c998-4200...@c17g2000yqe.googlegroups.com...
Sorry, no.
I've not called it directly from assembly. It's very possible I called it
indirectly via a DJGPP C function.
I can make some basic (or wild) guesses, that you could probably make too.
Here are my basic guesses. I doubt they'll help all that much:
1) one of the other four issues listed in RBIL's description
2) allocation not flushed to disk
3) bug in your math calculations
4) bug in your version of DOS
The first two of the four RBIL issues seem plausible that they could cause
your issue.
The last RBIL issue mentions FAT32. The issue seems unrelated, but it makes
me wonder if your filesystem is actually FAT16. Could it be FAT32? From
Wikipedia's FAT page, there are a large number of variations: FAT16B,
FAT16+, FATX16, FAT32, FAT32X, FAT32+, FATX32, exFAT.
For possible math bugs, I'm thinking something like:
adc instead of add, CF is set or not cleared via CLC
sbb instead of sub, CF is set or not cleared via CLC
dx is not cleared for 16/32-bit div or mul or imul
Rod Pemberton