Hi Bart,

> Upon further investigation a mere allocation of
> orderArray = MK_SEG_PTR(void, DOSalloc(0x1000,2));
> before the main dir code and deallocating it at the end without even
> using orderArray for sorting already corrupts things.
> I suspect that the memory block used for the message strings is
> getting in the way and may be out of bounds some where.

while the solution for this error is certainly unexpected, it indeed
solves the bug for Watcom (gcc not tested).

however now it seems to destroy the saved interrupt table, as
CtrlAltDelete (warmboot) reboots, but hangs after 94 dots "." printed.



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to