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:
parent
86dad129b6
commit
fac6b4f574
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();
|
||||
|
Loading…
Reference in New Issue
Block a user