From d24ee5f20483aee9acbec9deb0dcc833d78cae49 Mon Sep 17 00:00:00 2001 From: alekseiplusplus Date: Mon, 27 Nov 2023 21:15:03 +1100 Subject: actually fixed build this time --- src/cpu/core.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/cpu/core.h') 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 -- cgit v1.2.3