summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2017-02-09 12:13:46 -0500
committer GitHub <noreply@github.com>2017-02-09 12:13:46 -0500
commit3713cd3090bc8c25b378bb78176a2f2402242610 (patch)
tree267255082b090ac6d50cd5c00d2905672654beaa /src
parent43e588ed8d1e33c603bc94eceb43ccedbdc9a935 (diff)
parent00d3f7dc8abb20252392374df2e2609cc3ce7410 (diff)
Merge pull request #2050 from shattered/_a044f00
T11: HALT opcode jumps to fixed restart address with PSW=0340 (nw)
Diffstat (limited to 'src')
-rw-r--r--src/devices/cpu/t11/t11ops.hxx4
1 files 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();
}