summaryrefslogtreecommitdiff
path: root/src/cpu/core.h
diff options
context:
space:
mode:
authoralekseiplusplus <alekseijeaves@protonmail.com>2023-11-29 13:32:45 +1100
committeralekseiplusplus <alekseijeaves@protonmail.com>2023-11-29 13:32:45 +1100
commit8d3aaacf14997bbac177ae37ccab4618264cf29c (patch)
tree33cbf86fae08bc1bf97d5d38f1ac2ebebf6e7cd0 /src/cpu/core.h
parentcbd011fe442dfb520de7b51b61e9c4ef1eacae2f (diff)
work on peripherals and display
Diffstat (limited to 'src/cpu/core.h')
-rw-r--r--src/cpu/core.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cpu/core.h b/src/cpu/core.h
index b305021..fb6bdf6 100644
--- a/src/cpu/core.h
+++ b/src/cpu/core.h
@@ -49,6 +49,11 @@ struct AddData
}
AddData;
+
+
+// getMemory and setMemory are declared here, but defined in apple.c
+// This is because memory access of particular memory locations is influenced by the Apple I's specific setup, not by the CPU alone.
+
byte getMemory(address x);
void setMemory(address x, byte y);
@@ -57,4 +62,4 @@ extern void *current_instruction;
extern AddData idata;
extern void (*func)(Addressing, address);
-#endif \ No newline at end of file
+#endif