From 8d3aaacf14997bbac177ae37ccab4618264cf29c Mon Sep 17 00:00:00 2001 From: alekseiplusplus Date: Wed, 29 Nov 2023 13:32:45 +1100 Subject: work on peripherals and display --- src/cpu/core.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/cpu') 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 -- cgit v1.2.3