From 820111722350c3087230811c54fe367d720fd637 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Tue, 9 Jan 2018 15:56:48 -0600 Subject: [PATCH] Change init routine to use peripheral function --- src/apple2.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/apple2.c b/src/apple2.c index 8124edb..855ddb3 100644 --- a/src/apple2.c +++ b/src/apple2.c @@ -73,7 +73,7 @@ apple2_create(int width, int height) return NULL; } - if (apple2_mem_init_disk2_rom(mach) != OK) { + if (apple2_mem_init_peripheral_rom(mach) != OK) { log_critical("Could not initialize disk2 ROM"); apple2_free(mach); return NULL; @@ -215,8 +215,6 @@ apple2_reset(apple2 *mach) mach->cpu->P = MOS_INTERRUPT; mach->cpu->PC = vm_segment_get16(mach->memory, 0xFFFC); mach->cpu->S = 0; - - log_critical("At end of reset, PC = 0x%x", mach->cpu->PC); } /*