Added Intel Advanced/ZP emulation. Patch from EluanCM.

This commit is contained in:
SarahW 2018-02-20 10:34:46 +00:00
commit 84a0f0bacb
7 changed files with 54 additions and 1 deletions

View file

@ -861,6 +861,20 @@ int loadbios()
fclose(f);
biosmask = 0x1ffff;
return 1;
case ROM_ZAPPA:
f = romfopen("zappa/1006bs0_.bio", "rb");
if (!f) break;
fseek(f, 0x80, SEEK_SET);
fread(rom + 0x10000, 0x10000, 1, f);
fclose(f);
f = romfopen("zappa/1006bs0_.bi1", "rb");
if (!f) break;
fseek(f, 0x80, SEEK_SET);
fread(rom, 0xd000, 1, f);
fclose(f);
biosmask = 0x1ffff;
return 1;
}
printf("Failed to load ROM!\n");
if (f) fclose(f);