Added RL11 bootstrap info
This commit is contained in:
parent
2e93b71095
commit
cd5dbd5c14
6 changed files with 125 additions and 28 deletions
|
|
@ -506,7 +506,7 @@ class CPUStatePDP11 extends CPUPDP11 {
|
|||
* If updates to MMR1 have not been shut off (ie, MMR0.ABORT bits are clear), then we are allowed
|
||||
* to sync MMR1 with its real-time counterpart in opLast.
|
||||
*/
|
||||
if (!(this.regMMR0 & PDP11.MMR0.ABORT)) {
|
||||
if ((this.regMMR0 & (PDP11.MMR0.ABORT | PDP11.MMR0.ENABLED)) == PDP11.MMR0.ENABLED) {
|
||||
this.regMMR1 = (this.opLast >> 16) & 0xffff;
|
||||
}
|
||||
var result = this.regMMR1;
|
||||
|
|
@ -528,7 +528,7 @@ class CPUStatePDP11 extends CPUPDP11 {
|
|||
* If updates to MMR2 have not been shut off (ie, MMR0.ABORT bits are clear), then we are allowed
|
||||
* to sync MMR2 with its real-time counterpart in opLast.
|
||||
*/
|
||||
if (!(this.regMMR0 & PDP11.MMR0.ABORT)) {
|
||||
if ((this.regMMR0 & (PDP11.MMR0.ABORT | PDP11.MMR0.ENABLED)) == PDP11.MMR0.ENABLED) {
|
||||
this.regMMR2 = this.opLast & 0xffff;
|
||||
}
|
||||
return this.regMMR2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue