summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu')
-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