More verbosity around boot process

git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@40 64f78de7-aa59-e511-a0e8-0002a5492df0
This commit is contained in:
Daniel Loffgren 2015-09-19 05:11:53 +00:00
parent b10c5b5d49
commit bd321ad1a7
1 changed files with 8 additions and 1 deletions

View File

@ -63,11 +63,13 @@ int main(int argc, const char * argv[])
currentFileName = "apple1";
cpu = v6502_createCPU();
printf("Allocating 64k of memory...\n");
cpu->memory = v6502_createMemory(v6502_memoryStartCeiling + 1);
v6502_breakpoint_list *breakpoint_list = v6502_createBreakpointList();
// Load Woz Monitor
printf("Loading ROM...\n");
for (uint16_t start = ROM_START;
start < v6502_memoryStartCeiling && start >= ROM_START;
start += ROM_SIZE + 1) {
@ -76,10 +78,15 @@ int main(int argc, const char * argv[])
}
// Attach PIA
printf("Initializing PIA...\n");
pia = pia_create(cpu->memory);
printf("Resetting CPU...\n");
v6502_reset(cpu);
printf("Running...\n");
run(cpu);
int verbose = 0;
int commandLen;
HistEvent ev;