mirror of
https://github.com/st3fan/ewm.git
synced 2025-01-03 09:29:45 +00:00
Fixes #43 - Starting with --machine=apple1 hangs the emulator
This commit is contained in:
parent
eab16a1d3b
commit
2ad92e33ca
2
ewm.c
2
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user