diff options
author | 2011-05-31 17:33:14 +0000 | |
---|---|---|
committer | 2011-05-31 17:33:14 +0000 | |
commit | 9cfc7c1ee47b7a39c0f04f3803cb2b0990923dd2 (patch) | |
tree | 1520103bf5e897d1209d407b08237df108b42762 /src/emu/cpu/nec/v25.c | |
parent | 130b3fcabb9e735d1d61af5579dfc8072cc743fa (diff) |
Fixed POP, POPF, PUSHF, and flags for V20 core [Carl]
Diffstat (limited to 'src/emu/cpu/nec/v25.c')
-rw-r--r-- | src/emu/cpu/nec/v25.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/cpu/nec/v25.c b/src/emu/cpu/nec/v25.c index 1447575c5ad..a73e4325faa 100644 --- a/src/emu/cpu/nec/v25.c +++ b/src/emu/cpu/nec/v25.c @@ -181,6 +181,7 @@ static CPU_RESET( v25 ) nec_state->intp_state[0] = 0; nec_state->intp_state[1] = 0; nec_state->intp_state[2] = 0; + nec_state->noem = 1; nec_state->TM0 = nec_state->MD0 = nec_state->TM1 = nec_state->MD1 = 0; nec_state->TMC0 = nec_state->TMC1 = 0; @@ -694,7 +695,7 @@ static CPU_GET_INFO( v25v35 ) flags & 0x0001 ? 'C':'.'); break; - case CPUINFO_STR_REGISTER + NEC_PC: sprintf(info->s, "PC:%04X", (Sreg(PS)<<4) + nec_state->ip); break; + case CPUINFO_STR_REGISTER + NEC_PC: sprintf(info->s, "PC:%05X", (Sreg(PS)<<4) + nec_state->ip); break; case CPUINFO_STR_REGISTER + NEC_IP: sprintf(info->s, "IP:%04X", nec_state->ip); break; case CPUINFO_STR_REGISTER + NEC_SP: sprintf(info->s, "SP:%04X", Wreg(SP)); break; case CPUINFO_STR_REGISTER + NEC_FLAGS: sprintf(info->s, "F:%04X", CompressFlags()); break; |