From 00d3f7dc8abb20252392374df2e2609cc3ce7410 Mon Sep 17 00:00:00 2001 From: Sergey Svishchev Date: Tue, 7 Feb 2017 00:27:07 +0300 Subject: [PATCH] T11: HALT opcode jumps to fixed restart address with PSW=0340 (nw) --- src/devices/cpu/t11/t11ops.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/cpu/t11/t11ops.hxx b/src/devices/cpu/t11/t11ops.hxx index 12856460a21..2522ab7d69e 100644 --- a/src/devices/cpu/t11/t11ops.hxx +++ b/src/devices/cpu/t11/t11ops.hxx @@ -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(); }