Added WDEB386 service simulation (INT 0x41)

This commit is contained in:
Jeff Parsons 2015-08-27 16:23:12 -07:00
commit f56815c11b
52 changed files with 357 additions and 58 deletions

View file

@ -1325,7 +1325,7 @@ X86.fnIRET = function IRET()
if (this.setCSIP(newIP, newCS, false) != null) {
this.setPS(newPS, cpl);
if (MAXDEBUG && this.cIntReturn) this.checkIntReturn(this.regLIP);
if (this.cIntReturn) this.checkIntReturn(this.regLIP);
}
}
this.opLSP = X86.ADDR_INVALID;
@ -2280,7 +2280,7 @@ X86.fnRETF = function RETF(n)
this.zeroSeg(this.segGS);
}
}
if (MAXDEBUG && n == 2 && this.cIntReturn) this.checkIntReturn(this.regLIP);
if (n == 2 && this.cIntReturn) this.checkIntReturn(this.regLIP);
this.opLSP = X86.ADDR_INVALID;
};
@ -3376,6 +3376,7 @@ X86.fnVERR = function VERR(dst, src)
}
}
this.clearZF();
if (this.sizeData > 2 || this.sizeAddr > 2) this.stopCPU();
return dst;
};
@ -3413,6 +3414,7 @@ X86.fnVERW = function VERW(dst, src)
}
}
this.clearZF();
if (this.sizeData > 2 || this.sizeAddr > 2) this.stopCPU();
return dst;
};