From 65e93275c17c14eea06d495958ed77fe569ce8f1 Mon Sep 17 00:00:00 2001 From: alekseiplusplus Date: Mon, 1 May 2023 14:16:00 +1000 Subject: changed directory structure, and other minor stuff --- headers/apple.h | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 headers/apple.h (limited to 'headers/apple.h') 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)); -} - - -- cgit v1.2.3