diff options
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/6502.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/cpu/6502.h b/src/cpu/6502.h index 8ceba29..66526fd 100644 --- a/src/cpu/6502.h +++ b/src/cpu/6502.h @@ -1,14 +1,15 @@ // 6502.h // Core elements of the 6502 CPU -typedef unsigned char\ +typedef unsigned char byte; -typedef unsigned short\ +typedef unsigned short address; byte acc, X, Y, P, S = 0x00; address PC = 0x0000; byte* Memory; +byte* ROM; // FLAGS #define flag_N 0x80 // Negative @@ -98,6 +99,10 @@ void setMemory(address x, byte y); + + + + #include"addressing.h" #include"instructions/definitions.h" #include"instructions/table.h"
\ No newline at end of file |