MMR2 is locked when bits 0160000 in MMR0 are set (either of them)

This commit is contained in:
folkert van heusden 2022-06-17 19:51:53 +02:00
parent 82fe466cdd
commit d101ab3088

View file

@ -2170,7 +2170,8 @@ void cpu::step_b()
uint16_t temp_pc = getPC(); uint16_t temp_pc = getPC();
b->setMMR2(temp_pc); if ((b->getMMR1() & 0160000) == 0)
b->setMMR2(temp_pc);
if (temp_pc & 1) if (temp_pc & 1)
busError(); busError();