Fixed memory mapping on ISA video cards - should now work on Award 430VX PCI.

This commit is contained in:
TomW 2014-07-16 20:00:34 +01:00
commit 967feffbc0
10 changed files with 12 additions and 12 deletions

View file

@ -812,7 +812,7 @@ void *ega_standalone_init()
ega_t *ega = malloc(sizeof(ega_t));
memset(ega, 0, sizeof(ega_t));
rom_init(&ega->bios_rom, "roms/ibm_6277356_ega_card_u44_27128.bin", 0xc0000, 0x8000, 0x7fff, 0, 0);
rom_init(&ega->bios_rom, "roms/ibm_6277356_ega_card_u44_27128.bin", 0xc0000, 0x8000, 0x7fff, 0, MEM_MAPPING_EXTERNAL);
if (ega->bios_rom.rom[0x3ffe] == 0xaa && ega->bios_rom.rom[0x3fff] == 0x55)
{