diff options
author | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-04-27 21:12:58 +1000 |
---|---|---|
committer | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-04-27 21:12:58 +1000 |
commit | df566a054e6ee4b567bb1635073448ffc599a982 (patch) | |
tree | 66a852e6e13d8b8b040a0323a6f60182c6c2fcdb /headers | |
parent | c620138d9100286d583b56e4427ef2288d9173e4 (diff) |
interpreter.c is mostly complete
Diffstat (limited to 'headers')
-rw-r--r-- | headers/apple.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/headers/apple.h b/headers/apple.h index cfcc879..b17124b 100644 --- a/headers/apple.h +++ b/headers/apple.h @@ -5,7 +5,9 @@ void AppleOn(){ initInstructionTable(); } -void AppleReset(){ //Firt few Zp addresses have gibberish, need to fix +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)); }
\ No newline at end of file |