Finally, some progress with the IBM VGA ROM

This commit is contained in:
Jeff Parsons 2015-06-02 14:09:59 -07:00
commit f7e93fbeb3
6 changed files with 574 additions and 88 deletions

View file

@ -2114,7 +2114,7 @@ X86CPU.prototype.rewindIP = function(dec)
X86CPU.prototype.getSP = function()
{
if (I386) {
this.assert(!((this.regLSP - this.segSS.base) & ~this.segSS.addrMask));
// assert(!((this.regLSP - this.segSS.base) & ~this.segSS.addrMask));
return (this.regESP & ~this.segSS.addrMask) | (this.regLSP - this.segSS.base);
}
return (this.regLSP - this.segSS.base)|0;