blob: cfcc8791331d1bbc0f71b6f6c4eb741af10a7c1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#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));
}
|