diff options
author | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-11-27 21:15:03 +1100 |
---|---|---|
committer | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-11-27 21:15:03 +1100 |
commit | d24ee5f20483aee9acbec9deb0dcc833d78cae49 (patch) | |
tree | 04ed06b7c0f4e475b9f5f5f1e3da2c044d6b5849 /src/cpu/core.h | |
parent | c6da616d018ecfc5a26686e88ab520b54b7fa6ed (diff) |
actually fixed build this time
Diffstat (limited to 'src/cpu/core.h')
-rw-r--r-- | src/cpu/core.h | 14 |
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 |