mirror of
https://github.com/RyuKojiro/apple1.git
synced 2024-12-29 02:31:44 +00:00
Enabled map caching, and disabled heavy debug calls
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@80 64f78de7-aa59-e511-a0e8-0002a5492df0
This commit is contained in:
parent
4e4be90331
commit
c32d5993c3
@ -72,9 +72,9 @@ static void run(v6502_cpu *cpu) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
dis6502_printAnnotatedInstruction(asmfile, cpu, cpu->pc, table);
|
//dis6502_printAnnotatedInstruction(asmfile, cpu, cpu->pc, table);
|
||||||
v6502_step(cpu);
|
v6502_step(cpu);
|
||||||
v6502_printCpuState(asmfile, cpu);
|
//v6502_printCpuState(asmfile, cpu);
|
||||||
}
|
}
|
||||||
pia_stop(pia);
|
pia_stop(pia);
|
||||||
fclose(asmfile);
|
fclose(asmfile);
|
||||||
@ -93,6 +93,7 @@ int main(int argc, const char * argv[])
|
|||||||
cpu = v6502_createCPU();
|
cpu = v6502_createCPU();
|
||||||
printf("Allocating 64k of memory...\n");
|
printf("Allocating 64k of memory...\n");
|
||||||
cpu->memory = v6502_createMemory(v6502_memoryStartCeiling + 1);
|
cpu->memory = v6502_createMemory(v6502_memoryStartCeiling + 1);
|
||||||
|
cpu->memory->mapCacheEnabled = YES;
|
||||||
|
|
||||||
breakpoint_list = v6502_createBreakpointList();
|
breakpoint_list = v6502_createBreakpointList();
|
||||||
table = as6502_createSymbolTable();
|
table = as6502_createSymbolTable();
|
||||||
|
Loading…
Reference in New Issue
Block a user