Enable shadow RAM control at A0000-BFFFF on CS8230 chipset (ECS 386/32).

Patch from Greatpsycho.
This commit is contained in:
SarahW 2020-07-14 19:07:02 +01:00
commit bb7dff751e

View file

@ -112,4 +112,9 @@ void cs8230_init(void)
cs8230_read, NULL, NULL,
cs8230_write, NULL, NULL,
NULL);
if (mem_size > 768)
{
mem_mapping_set_addr(&ram_mid_mapping, 0xa0000, mem_size > 1024 ? 0x60000 : 0x20000 + (mem_size - 768) * 1024);
mem_mapping_set_exec(&ram_mid_mapping, ram + 0xa0000);
}
}