Added Tulip AT Compact. Patch from dns2kv2.

This commit is contained in:
SarahW 2018-11-12 21:05:40 +00:00
commit 5167ba5b2d
4 changed files with 19 additions and 0 deletions

View file

@ -919,6 +919,21 @@ int loadbios()
fclose(f);
biosmask = 0x1ffff;
return 1;
case ROM_TULIP_TC7:
f = romfopen("tulip_tc7/tc7be.bin", "rb");
ff = romfopen("tulip_tc7/tc7bo.bin", "rb");
if (!f || !ff) break;
for (c = 0x0000; c < 0x8000; c += 2)
{
rom[c] = getc(f);
rom[c + 1] = getc(ff);
}
fclose(ff);
fclose(f);
biosmask = 0x7fff;
return 1;
}
printf("Failed to load ROM!\n");
if (f) fclose(f);