summaryrefslogtreecommitdiff
path: root/z80_private.h
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2022-12-26 16:34:22 +0000
committerIan C <ianc@noddybox.co.uk>2022-12-26 16:34:22 +0000
commit33ebf50aa4a855fb1a0df2cf682796abbc39d07f (patch)
tree6a2a7a6b27c16a0dfe5f3522557da4af0a43c352 /z80_private.h
parent6220948f30b0abe230ed9f93491bd7b83fba5246 (diff)
Failed attempts to fix runall for BIT. Also some tweaks to sources and
the initial noisy mode of EMMA.
Diffstat (limited to 'z80_private.h')
-rw-r--r--z80_private.h14
1 files changed, 2 insertions, 12 deletions
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 \
{ \