Add Bull Micral 45 emulation. Patch from dns2k.
This commit is contained in:
parent
4b7328f06e
commit
443ae04fa3
4 changed files with 17 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue