T11: HALT opcode jumps to fixed restart address with PSW=0340 (nw)

This commit is contained in:
Sergey Svishchev 2017-02-07 00:27:07 +03:00
parent 383e5ab7c7
commit 00d3f7dc8a

View File

@ -271,8 +271,8 @@ void t11_device::halt(uint16_t op)
m_icount -= 48;
PUSH(PSW);
PUSH(PC);
PC = RWORD(0x04);
PSW = RWORD(0x06);
PC = m_initial_pc + 4;
PSW = 0340;
t11_check_irqs();
}