summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2009-09-23 20:25:57 +0000
committer Curt Coder <curtcoder@mail.com>2009-09-23 20:25:57 +0000
commitb0c5844b7ab4e3521f07c0580bee26e496ff65cc (patch)
tree1a2994f18294526d0c1f4a6911ee15b61f0e468e
parentf32b00264b78945faebb3bdbb5ced52837fe5069 (diff)
i8085:
- RIM instruction now shows the current status of RST5.5 and RST6.5 pins.
-rw-r--r--src/emu/cpu/i8085/i8085.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/emu/cpu/i8085/i8085.c b/src/emu/cpu/i8085/i8085.c
index ab004b78f2b..00843c0fced 100644
--- a/src/emu/cpu/i8085/i8085.c
+++ b/src/emu/cpu/i8085/i8085.c
@@ -373,10 +373,8 @@ INLINE UINT8 get_rim_value(i8085_state *cpustate)
/* copy live RST5.5 and RST6.5 states */
result &= ~(IM_I65 | IM_I55);
- if (cpustate->irq_state[I8085_RST65_LINE] && !(cpustate->IM & IM_M65))
- result |= IM_I65;
- if (cpustate->irq_state[I8085_RST55_LINE] && !(cpustate->IM & IM_M55))
- result |= IM_I55;
+ if (cpustate->irq_state[I8085_RST65_LINE]) result |= IM_I65;
+ if (cpustate->irq_state[I8085_RST55_LINE]) result |= IM_I55;
/* fetch the SID bit if we have a callback */
result = (result & 0x7f) | (sid ? 0x80 : 0);