Finally, some progress with the IBM VGA ROM
This commit is contained in:
parent
dbb77f31b6
commit
f7e93fbeb3
6 changed files with 574 additions and 88 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue