MMR2 is locked when bits 0160000 in MMR0 are set (either of them)
This commit is contained in:
parent
82fe466cdd
commit
d101ab3088
1 changed files with 2 additions and 1 deletions
1
cpu.cpp
1
cpu.cpp
|
@ -2170,6 +2170,7 @@ void cpu::step_b()
|
|||
|
||||
uint16_t temp_pc = getPC();
|
||||
|
||||
if ((b->getMMR1() & 0160000) == 0)
|
||||
b->setMMR2(temp_pc);
|
||||
|
||||
if (temp_pc & 1)
|
||||
|
|
Loading…
Add table
Reference in a new issue