Added ECS 386/32 emulation.

This commit is contained in:
SarahW 2020-03-01 17:20:23 +00:00
commit 18cc83b28f
9 changed files with 144 additions and 3 deletions

View file

@ -1023,6 +1023,19 @@ int loadbios()
fclose(f);
biosmask = 0x1ffff;
return 1;
case ROM_ECS_386_32:
f = romfopen("ecs386_32/386_32_even.bin", "rb");
ff = romfopen("ecs386_32/386_32_odd.bin", "rb");
if (!f || !ff) break;
for (c = 0x0000; c < 0x10000; c += 2)
{
rom[c] = getc(f);
rom[c+1] = getc(ff);
}
fclose(ff);
fclose(f);
return 1;
}
printf("Failed to load ROM!\n");
if (f) fclose(f);