LG> Good news - the Borland 386 bug is now fixed!

LG> Bart was right - using EAX in one of the small functions in
LG> main.c caused the trouble. How I came to this?

My god - what a sad story.

boot a kernel that works.
load device=softice.
insert floppy with bad kernel.

SIce>boot

SIce still is in memory, and will popup at the faulting instruction,
or you can insert some int(3) to trace the offending code.

LG> How did I fix it?
don't like it that way.
EAX register may be used next week by a different function, or Arkady
optimizes the memcpy() functions, and the error pops up again.

I'd propose to add/fix some Borland RTL library to handle this issue.
probably not too much work, as the only used functions are
xxxMUL32/xxxDIV32 and they are fairly short.

tom




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to