Салям!

24-Апр-2005 16:02 [EMAIL PROTECTED] (Eric Auer) wrote to
[email protected]:

(Other questions already answered by Bart).

EA> - there are I186 and I386 defines which are only used in inthndlr.c
EA>   and main.c, but I have the feeling that you get better consistency
EA>   by REMOVING those and using the global XCPU define instead.

     XCPU is only our suggestion how compiler should generate code. I386
defined by (some) compilers and (more precise) reflects real state.

EA> - entry.asm adjusts BP depending on XCPU at int21_exit_nodec, so
EA>   there should be a WARNING in the code that this has to stay in
EA>   sync with the Protect/Restore macros.

     Yes, such additional comments always welcomed (from me).

EA> - int2f.asm saves/restores FS and GS to SI and DI if the compiler is
EA>   Watcom. This saves 4 bytes of stack but is a BAD IDEA because it
EA>   hardcodes the idea that Protect/Restore macros save ONLY FS and GS
EA>   if the compiler is Watcom.

     ?




-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id5hix
_______________________________________________
Freedos-kernel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to