Added emulation of Commodore SL386SX-25 (PC Player II).

As part of this, added emulation of the onboard AVGA2, and fixed a couple of
bugs in the Cirrus Logic extended write modes.
Currently chipset (VLSI SCAMP) is missing EMS emulation.
This commit is contained in:
SarahW 2019-12-20 17:19:25 +00:00
commit 5c8e1aecc2
12 changed files with 499 additions and 37 deletions

View file

@ -1008,6 +1008,13 @@ int loadbios()
fclose(f);
biosmask = 0x1ffff;
return 1;
case ROM_CBM_SL386SX25:
f = romfopen("cbm_sl386sx25/f000.rom", "rb");
if (!f) break;
romfread(rom, 0x10000, 1, f);
fclose(f);
return 1;
}
printf("Failed to load ROM!\n");
if (f) fclose(f);