The reason for these -zu compatible fixes is that in cases where SS is
not the same as DS (DGROUP) certain calls behave oddly, such as printf,
since the compiler is passing an offset on the stack where it assumes
DS==SS so the function receiving the parameters can use either segment
Hi!
20-Ноя-2005 16:39 [EMAIL PROTECTED] (Kenneth Davis) wrote to
[EMAIL PROTECTED]:
+++ prf.c 20 Nov 2005 16:39:14 - 1.31.2.4
@@ -123,17 +123,17 @@
+STATIC void do_printf(const char FAR *, va_list);
+VOID VA_CDECL printf(const char FAR * fmt, ...);
Hi!
20-Ноя-2005 16:57 [EMAIL PROTECTED] (Kenneth Davis) wrote to
[EMAIL PROTECTED]:
--- NEW FILE: intwrap.asm ---
reloc_call_int13_handler:
cli ; disable other interrupts for now
INT instruction already disables IFlag.
stc ; force error unless BIOS
Arkady V.Belousov wrote:
Hi!
20-Ноя-2005 16:57 [EMAIL PROTECTED] (Kenneth Davis) wrote to
[EMAIL PROTECTED]:
--- NEW FILE: intwrap.asm ---
reloc_call_int13_handler:
cli ; disable other interrupts for now
INT instruction already disables IFlag.
stc ;
Hi!
20-Ноя-2005 19:03 [EMAIL PROTECTED] (Kenneth Davis) wrote to
[EMAIL PROTECTED]:
+++ intwrap.asm 20 Nov 2005 19:03:17 - 1.1.2.2
-sti ; ensure int's are renabled
retf 2 ; return to caller leaving flags asis
Another potential bug: if caller
Hi!
20-Ноя-2005 13:50 [EMAIL PROTECTED] (Kenneth J. Davis) wrote to
freedos-kernel@lists.sourceforge.net:
int13iret:
inc sp ; clean up stack
inc sp
sti ; ensure int's are renabled
retf 2 ; return to caller leaving flags asis
I don't think that