mirror of
https://github.com/RyuKojiro/apple1.git
synced 2024-06-09 20:29:29 +00:00
The boot sequence is a little more sensible now, and the messages are better, too.
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@79 64f78de7-aa59-e511-a0e8-0002a5492df0
This commit is contained in:
parent
87c8a20489
commit
4e4be90331
|
@ -102,21 +102,21 @@ int main(int argc, const char * argv[])
|
|||
v6502_loadFileAtAddress(cpu->memory, "apple1.rom", RESET_VECTOR);
|
||||
//v6502_map(cpu->memory, start, ROM_SIZE, romMirrorCallback, NULL, NULL);
|
||||
|
||||
// Load debugger script
|
||||
int verbose = 0;
|
||||
FILE *file = fopen("apple1.dbg", "r");
|
||||
// Load integer BASIC
|
||||
FILE *file = fopen("apple1basic.bin", "r");
|
||||
if (file) {
|
||||
printf("Loading debugger script...\n");
|
||||
v6502_runDebuggerScript(cpu, file, breakpoint_list, table, run, &verbose);
|
||||
fclose(file);
|
||||
printf("Loading BASIC...\n");
|
||||
v6502_loadFileAtAddress(cpu->memory, "apple1basic.bin", BASIC_LOAD_ADDRESS);
|
||||
}
|
||||
|
||||
// Load integer BASIC
|
||||
file = fopen("apple1basic.bin", "r");
|
||||
// Load debugger script
|
||||
int verbose = 0;
|
||||
file = fopen("apple1.dbg", "r");
|
||||
if (file) {
|
||||
printf("Executing debugger script...\n");
|
||||
v6502_runDebuggerScript(cpu, file, breakpoint_list, table, run, &verbose);
|
||||
fclose(file);
|
||||
printf("Loading BASIC tape at 0x%4x...\n", BASIC_LOAD_ADDRESS);
|
||||
v6502_loadFileAtAddress(cpu->memory, "apple1basic.bin", BASIC_LOAD_ADDRESS);
|
||||
}
|
||||
|
||||
// Attach PIA
|
||||
|
|
Loading…
Reference in New Issue
Block a user