mirror of
https://github.com/pevans/erc-c.git
synced 2025-08-11 23:25:12 +00:00
Initialize system and disk2 rom
This commit is contained in:
12
src/apple2.c
12
src/apple2.c
@@ -69,6 +69,18 @@ apple2_create(int width, int height)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (apple2_mem_init_disk2_rom(mach) != OK) {
|
||||
log_critical("Could not initialize disk2 ROM");
|
||||
apple2_free(mach);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (apple2_mem_init_sys_rom(mach) != OK) {
|
||||
log_critical("Could not initialize apple2 ROM");
|
||||
apple2_free(mach);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Our two drives -- we create both of them, even if we intend to
|
||||
// use only one.
|
||||
mach->drive1 = apple2dd_create();
|
||||
|
Reference in New Issue
Block a user