From 33ebf50aa4a855fb1a0df2cf682796abbc39d07f Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 26 Dec 2022 16:34:22 +0000 Subject: Failed attempts to fix runall for BIT. Also some tweaks to sources and the initial noisy mode of EMMA. --- z80_private.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'z80_private.h') diff --git a/z80_private.h b/z80_private.h index 2583766..86adaee 100644 --- a/z80_private.h +++ b/z80_private.h @@ -246,11 +246,7 @@ static inline Z80Word PEEKW(Z80Word addr) PRIV->memptr.w=cpu->PC; \ } while(0) -#define NOCALL do \ - { \ - PRIV->memptr.w=PEEKW(cpu->PC); \ - cpu->PC+=2; \ - } while(0) +#define NOCALL cpu->PC+=2 #define JP do \ { \ @@ -266,13 +262,7 @@ static inline Z80Word PEEKW(Z80Word addr) PRIV->memptr.w=cpu->PC; \ } while(0) -#define NOJR do \ - { \ - Z80Word addr=cpu->PC+ \ - (Z80Relative)PEEK(cpu->PC)+1; \ - PRIV->memptr.w=addr; \ - cpu->PC++; \ - } while(0) +#define NOJR cpu->PC++ #define OUT(P,V) do \ { \ -- cgit v1.2.3