Mail Archives: djgpp/1994/09/06/09:14:36
Hi !
I propose the following modification in DJGPP 1.12. This code disables
interrupts in real mode callbacks as DPMI spec says. This is necessary
to avoid int 0d errors in some cases.
*** dpmisim.asm Sat Apr 23 04:51:36 1994
--- d:dpmisim.asm Tue Sep 6 02:21:48 1994
***************
*** 240,245 ****
--- 240,251 ----
and eax,0fffffffch
mov _r_tss.tss_esp, eax
+ ; 1994-09-05 GWJ - disable interrupts
+ mov eax,_r_tss.tss_eflags
+ and eax,0fffffdffh
+ mov _r_tss.tss_eflags,eax
+ ; GWJ end
+
push _tss_ptr
mov ax,offset _r_tss
mov _tss_ptr,ax
Grzegorz W. Jablonski
gwj AT j-23 DOT p DOT lodz DOT pl
- Raw text -