diff options
author | Ian C <ianc@noddybox.co.uk> | 2022-12-26 16:34:22 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2022-12-26 16:34:22 +0000 |
commit | 33ebf50aa4a855fb1a0df2cf682796abbc39d07f (patch) | |
tree | 6a2a7a6b27c16a0dfe5f3522557da4af0a43c352 /z80.c | |
parent | 6220948f30b0abe230ed9f93491bd7b83fba5246 (diff) |
Failed attempts to fix runall for BIT. Also some tweaks to sources and
the initial noisy mode of EMMA.
Diffstat (limited to 'z80.c')
-rw-r--r-- | z80.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -66,6 +66,7 @@ static void Z80_CheckInterrupt(Z80 *cpu) PRIV->nmi=FALSE; PUSH(cpu->PC); cpu->PC=0x66; + PRIV->memptr.w=cpu->PC; } else if (cpu->IFF1) { @@ -93,11 +94,13 @@ static void Z80_CheckInterrupt(Z80 *cpu) case 1: PUSH(cpu->PC); cpu->PC=0x38; + PRIV->memptr.w=cpu->PC; break; case 2: PUSH(cpu->PC); cpu->PC=(Z80Word)cpu->I*256+PRIV->devbyte; + PRIV->memptr.w=cpu->PC; break; } } |