diff options
author | 2017-02-09 12:13:46 -0500 | |
---|---|---|
committer | 2017-02-09 12:13:46 -0500 | |
commit | 3713cd3090bc8c25b378bb78176a2f2402242610 (patch) | |
tree | 267255082b090ac6d50cd5c00d2905672654beaa /src | |
parent | 43e588ed8d1e33c603bc94eceb43ccedbdc9a935 (diff) | |
parent | 00d3f7dc8abb20252392374df2e2609cc3ce7410 (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.hxx | 4 |
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(); } |