1
0
Fork 0

no message

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1312
This commit is contained in:
Ulf Wohlers 2003-10-13 19:44:47 +00:00
parent 7b27e666f2
commit 55591a56da
18 changed files with 246 additions and 41 deletions

View file

@ -1091,10 +1091,14 @@ restart:
flags.type=t_CF;
break;
case 0xfa: /* CLI */
SETFLAGBIT(IF,false);
// if (DPMI_IsActive()) DPMI_SetVirtualIntFlag(false);
// else
SETFLAGBIT(IF,false);
break;
case 0xfb: /* STI */
SETFLAGBIT(IF,true);
// if (DPMI_IsActive()) DPMI_SetVirtualIntFlag(true);
// else
SETFLAGBIT(IF,true);
#ifdef CPU_PIC_CHECK
if (GETFLAG(IF) && PIC_IRQCheck) goto decode_end;
#endif

View file

@ -368,10 +368,14 @@ l_M_Ed:
else reg_edx=0;
goto nextopcode;
case D_CLI:
SETFLAGBIT(IF,false);
// if (DPMI_IsActive()) DPMI_SetVirtualIntFlag(false);
// else
SETFLAGBIT(IF,false);
goto nextopcode;
case D_STI:
SETFLAGBIT(IF,true);
// if (DPMI_IsActive()) DPMI_SetVirtualIntFlag(true);
// else
SETFLAGBIT(IF,true);
if (GETFLAG(IF) && PIC_IRQCheck) {
LEAVECORE;
return CBRET_NONE;