From 2ad92e33ca57b8ffe3cfc82f232359f2b5717c53 Mon Sep 17 00:00:00 2001 From: Stefan Arentz Date: Wed, 23 Nov 2016 22:25:36 -0500 Subject: [PATCH] Fixes #43 - Starting with --machine=apple1 hangs the emulator --- ewm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ewm.c b/ewm.c index b869a53..d27ba5e 100644 --- a/ewm.c +++ b/ewm.c @@ -38,7 +38,7 @@ static int setup_apple1(struct cpu_t *cpu) { struct pia_t *pia = malloc(sizeof(struct pia_t)); pia_init(pia); cpu_add_ram(cpu, 0x0000, 8 * 1024 - 1); - cpu_add_rom_file(cpu, 0xff00, "roms/apple1.com"); + cpu_add_rom_file(cpu, 0xff00, "roms/apple1.rom"); cpu_add_iom(cpu, EWM_A1_PIA6820_ADDR, EWM_A1_PIA6820_ADDR + EWM_A1_PIA6820_LENGTH - 1, pia, pia_read, pia_write); return 0; }