From 4af7e4444c4d8458d7d0b79f0547fa337dcced70 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Wed, 6 Dec 2017 21:26:09 -0600 Subject: [PATCH] This macro was no longer needed --- include/mos6502.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/mos6502.h b/include/mos6502.h index 86c7d09..a5e53bb 100644 --- a/include/mos6502.h +++ b/include/mos6502.h @@ -10,14 +10,6 @@ */ #define MOS6502_MEMSIZE 65536 -#define SET_ARITH_STATUS(v) \ - cpu->P &= ~NEGATIVE; \ - cpu->P &= ~ZERO; \ - cpu->P &= ~CARRY; \ - if ((v) == 0) cpu->P |= ZERO; \ - if ((v) > 0) cpu->P |= CARRY; \ - if ((v) & 0x80) cpu->P |= NEGATIVE - #define SET_PC_BYTE(cpu, off, byte) \ vm_segment_set(cpu->memory, cpu->PC + off, byte)