diff options
Diffstat (limited to 'src/cpu/core.h')
-rw-r--r-- | src/cpu/core.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/cpu/core.h b/src/cpu/core.h index fb6bdf6..850f04b 100644 --- a/src/cpu/core.h +++ b/src/cpu/core.h @@ -1,5 +1,4 @@ -#ifndef CPU_CORE_H -#define CPU_CORE_H +#pragma once typedef unsigned char @@ -51,15 +50,12 @@ AddData; -// getMemory and setMemory are declared here, but defined in apple.c +// 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); -byte getMemory(address x); - -void setMemory(address x, byte y); extern void *current_instruction; extern AddData idata; -extern void (*func)(Addressing, address); - -#endif +extern void (*func)(Addressing, address);
\ No newline at end of file |