summaryrefslogtreecommitdiff
path: root/src/cpu/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/core.h')
-rw-r--r--src/cpu/core.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/cpu/core.h b/src/cpu/core.h
index 26a6bc5..b305021 100644
--- a/src/cpu/core.h
+++ b/src/cpu/core.h
@@ -9,6 +9,16 @@ typedef
unsigned short
address;
+extern byte acc;
+extern byte X;
+extern byte Y;
+extern byte P;
+extern byte S;
+extern address PC;
+extern byte* Memory;
+extern byte* ROM;
+
+
enum Addressing
{
eImmediate,
@@ -43,4 +53,8 @@ byte getMemory(address x);
void setMemory(address x, byte y);
+extern void *current_instruction;
+extern AddData idata;
+extern void (*func)(Addressing, address);
+
#endif \ No newline at end of file