1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-09-29 11:55:01 +00:00

Initialize system and disk2 rom

This commit is contained in:
Peter Evans 2018-01-03 15:20:48 -06:00
parent 86dad129b6
commit fac6b4f574

View File

@ -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();