From a11980fe90fe62588fdf8103d9ef418283b3fd27 Mon Sep 17 00:00:00 2001 From: alekseiplusplus Date: Sat, 5 Aug 2023 05:32:54 +1000 Subject: major refactor; doesn't compile (see ToDo) --- src/cpu/addressing.h | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'src/cpu/addressing.h') diff --git a/src/cpu/addressing.h b/src/cpu/addressing.h index d0320b8..c520535 100644 --- a/src/cpu/addressing.h +++ b/src/cpu/addressing.h @@ -5,32 +5,7 @@ #define ADDRESSING_H #include"core.h" - -enum Addressing { - eImmediate, - eAccumulator, - eZeroPage, - eZeroPageIndexedX, - eZeroPageIndexedY, - eAbsolute, - eAbsoluteIndexedX, - eAbsoluteIndexedY, - eIndexedIndirect, - eIndirectIndexed, - eImplied, - eIndirectAbsolute, - eRelative -}; - -typedef int Addressing; - -typedef struct AddData{ - int cycles; - int length; - address add; - byte value; -} AddData; - +#include"6502.h" #include"instructions.h" //Holds address of current instruction. -- cgit v1.2.3