Got rid of runState, implemented a solution for WAIT
This commit is contained in:
parent
98081c6a6d
commit
b3ba03d0a5
7 changed files with 358 additions and 338 deletions
|
|
@ -352,7 +352,7 @@ DevicePDP11.prototype.writePSW = function(data, addr)
|
|||
{
|
||||
var maskDisallowed = PDP11.PSW.UNUSED | PDP11.PSW.TF;
|
||||
this.cpu.setPSW((data & ~maskDisallowed) | (this.cpu.getPSW() & maskDisallowed));
|
||||
this.cpu.opFlags |= PDP11.OPFLAG.SKIP_FLAGS;
|
||||
this.cpu.opFlags |= PDP11.OPFLAG.NO_FLAGS;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue