Add Bull Micral 45 emulation. Patch from dns2k.

This commit is contained in:
SarahW 2019-04-23 17:00:05 +01:00
commit 443ae04fa3
4 changed files with 17 additions and 0 deletions

View file

@ -986,6 +986,19 @@ int loadbios()
fclose(f);
biosmask = 0x1ffff;
return 1;
case ROM_BULL_MICRAL_45:
f = romfopen("bull_micral_45/even.fil", "rb");
ff = romfopen("bull_micral_45/odd.fil", "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);