fix bug in dyncore for STD/CLD+STI/CLI opcode combination (f15/f22 et al)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2648
This commit is contained in:
parent
14456f435a
commit
af5bb6abf3
1 changed files with 2 additions and 0 deletions
|
@ -1723,11 +1723,13 @@ restart_prefix:
|
|||
case 0xf7:dyn_grp3_ev();break;
|
||||
/* Change interrupt flag */
|
||||
case 0xfa: //CLI
|
||||
gen_releasereg(DREG(FLAGS));
|
||||
gen_call_function((void *)&CPU_CLI,"%Rd",DREG(TMPB));
|
||||
if (cpu.pmode) dyn_check_bool_exception(DREG(TMPB));
|
||||
gen_releasereg(DREG(TMPB));
|
||||
break;
|
||||
case 0xfb: //STI
|
||||
gen_releasereg(DREG(FLAGS));
|
||||
gen_call_function((void *)&CPU_STI,"%Rd",DREG(TMPB));
|
||||
if (cpu.pmode) dyn_check_bool_exception(DREG(TMPB));
|
||||
gen_releasereg(DREG(TMPB));
|
||||
|
|
Loading…
Add table
Reference in a new issue