Cleaned up the SerialPort (formerly tty) logic a bit
This commit is contained in:
parent
795d57839b
commit
086ef51588
6 changed files with 482 additions and 449 deletions
|
|
@ -644,7 +644,6 @@ CPUStatePDP11.prototype.checkInterruptQueue = function()
|
|||
this.opFlags |= PDP11.OPFLAG.INTQ;
|
||||
break; // Decrement only one delay 'difference' per cycle
|
||||
}
|
||||
//if (typeof this.interruptQueue[i].callback !== "undefined") {
|
||||
if (this.interruptQueue[i].callback) {
|
||||
if (!this.interruptQueue[i].callback()) {
|
||||
this.interruptQueue.splice(i, 1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue