Corrected frame size for 32-bit INT gates, fixed BT/BTC/BTR/BTS instructions for bit indexes > 31, and disabled the Debugger's IF clear warning when IOPL < CPL
This commit is contained in:
parent
ee2f5ff761
commit
3f52d18182
5 changed files with 191 additions and 21 deletions
|
|
@ -3365,7 +3365,7 @@ if (DEBUGGER) {
|
|||
/*
|
||||
* Halt if running with interrupts disabled and IOPL < CPL, because that's likely an error
|
||||
*/
|
||||
if (!(this.cpu.regPS & X86.PS.IF) && this.cpu.nIOPL < this.cpu.nCPL) {
|
||||
if (MAXDEBUG && !(this.cpu.regPS & X86.PS.IF) && this.cpu.nIOPL < this.cpu.nCPL) {
|
||||
this.printMessage("interrupts disabled at IOPL " + this.cpu.nIOPL + " and CPL " + this.cpu.nCPL, true);
|
||||
return true;
|
||||
}
|
||||
|
|
@ -6931,6 +6931,8 @@ if (DEBUGGER) {
|
|||
var ch = sCmd.charAt(0);
|
||||
if (ch == '"' || ch == "'") return true;
|
||||
|
||||
this.sMessagePrev = null;
|
||||
|
||||
/*
|
||||
* I've relaxed the !isBusy() requirement, to maximize our ability to issue Debugger commands externally.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue