TRAP shall not update MMR1
This commit is contained in:
parent
74f3a4d949
commit
3886e216f0
1 changed files with 0 additions and 2 deletions
2
cpu.cpp
2
cpu.cpp
|
@ -1703,10 +1703,8 @@ void cpu::trap(uint16_t vector, const int new_ipl, const bool is_interrupt)
|
||||||
b->clearMMR1();
|
b->clearMMR1();
|
||||||
|
|
||||||
before_psw = getPSW();
|
before_psw = getPSW();
|
||||||
b->addToMMR1(-2, 6);
|
|
||||||
|
|
||||||
before_pc = getPC();
|
before_pc = getPC();
|
||||||
b->addToMMR1(-2, 6);
|
|
||||||
|
|
||||||
// TODO set MMR2?
|
// TODO set MMR2?
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue