Eric Auer escribi�:
Well, I disagree that you should close the bug. The point is: we agree that it is a VERY BAD programming practice, etc, etc.Hi Arkady!
(Clear high parts of 32bit regs...)
How this relates to DOS?
MS DOS basically had no 386 stuff at all (except EMM386). In FreeDOS, however, people run 386 aware programs more often. Those leave non-zero values in 32 bit registers when they exit, and the next program which you start...
Whatever. You are right. Very bad programming practice to expect the high parts of the 32 bit registers to have some value. I close that "bug report" then.
Lawrence comments that this only affected an old version of the GRDB debugger.
Check out my comment and program on
http://www.freedos.org/bugs/bugzilla/show_bug.cgi?id=1630
But if you implement this (as possibly MS-DOS does), then you get a system which is more stable, although we are fixing a problem which is not ours.
I don't think it's a big deal to do a
if (is386+) { XOR EAX, EAX; etc etc}
anyway, or am I missing something?
Aitor
------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel
