#define MEMORY_SIZE 4096 void AppleOn(){ Memory = calloc(MEMORY_SIZE, sizeof(byte)); initInstructionTable(); } void AppleReset(){ //Firt few Zp addresses have gibberish, need to fix free(Memory); Memory = calloc(MEMORY_SIZE, sizeof(byte)); }