diff options
Diffstat (limited to 'src/cpu/6502.c')
-rw-r--r-- | src/cpu/6502.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpu/6502.c b/src/cpu/6502.c index 672ead3..a5c47f5 100644 --- a/src/cpu/6502.c +++ b/src/cpu/6502.c @@ -3,6 +3,11 @@ #include"6502.h" +byte acc, X, Y, P, S = 0x00; +address PC = 0x0000; +byte* Memory; +byte* ROM; + byte getFlag(byte flag) { return ((P & flag) == flag) ? 1 : 0; } |