diff options
author | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-05-01 14:16:00 +1000 |
---|---|---|
committer | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-05-01 14:16:00 +1000 |
commit | 65e93275c17c14eea06d495958ed77fe569ce8f1 (patch) | |
tree | 4e9ee5a9bbbc6ac1ea5a4b38dd2cace48bbb5c70 /headers/apple.h | |
parent | 8f09f4249cec8ccc187b3f9ee5094fb3080900a9 (diff) |
changed directory structure, and other minor stuff
Diffstat (limited to 'headers/apple.h')
-rw-r--r-- | headers/apple.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/headers/apple.h b/headers/apple.h deleted file mode 100644 index 55ddaa3..0000000 --- a/headers/apple.h +++ /dev/null @@ -1,15 +0,0 @@ -#define MEMORY_SIZE 4096 - -void AppleOn(){ - Memory = calloc(MEMORY_SIZE, sizeof(byte)); - initInstructionTable(); -} - -void AppleReset(){ - acc = 0; X = 0; Y = 0; P = 0; S = 0; - idata.cycles = 0; idata.length = 0; idata.add = 0; idata.value = 0; - free(Memory); - Memory = calloc(MEMORY_SIZE, sizeof(byte)); -} - - |