Let dynamic core recompile interrupt instructions in non-debug builds. Can help software with many INTs, such as compiled BASIC, run faster.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4213
This commit is contained in:
parent
bec0e79890
commit
bbea47d541
2 changed files with 5 additions and 1 deletions
|
@ -2377,7 +2377,9 @@ restart_prefix:
|
|||
case 0xca:dyn_ret_far(decode_fetchw());goto finish_block;
|
||||
case 0xcb:dyn_ret_far(0);goto finish_block;
|
||||
/* Interrupt */
|
||||
// case 0xcd:dyn_interrupt(decode_fetchb());goto finish_block;
|
||||
#if !(C_DEBUG)
|
||||
case 0xcd:dyn_interrupt(decode_fetchb());goto finish_block;
|
||||
#endif
|
||||
/* IRET */
|
||||
case 0xcf:dyn_iret();goto finish_block;
|
||||
|
||||
|
|
|
@ -446,7 +446,9 @@ restart_prefix:
|
|||
case 0xcb:dyn_ret_far(0);goto finish_block;
|
||||
|
||||
// int/iret
|
||||
#if !(C_DEBUG)
|
||||
case 0xcd:dyn_interrupt(decode_fetchb());goto finish_block;
|
||||
#endif
|
||||
case 0xcf:dyn_iret();goto finish_block;
|
||||
|
||||
// case 0xd4: AAM missing
|
||||
|
|
Loading…
Add table
Reference in a new issue