Enable shadow RAM control at A0000-BFFFF on CS8230 chipset (ECS 386/32).
Patch from Greatpsycho.
This commit is contained in:
parent
1f63723d9d
commit
bb7dff751e
1 changed files with 5 additions and 0 deletions
|
|
@ -112,4 +112,9 @@ void cs8230_init(void)
|
||||||
cs8230_read, NULL, NULL,
|
cs8230_read, NULL, NULL,
|
||||||
cs8230_write, NULL, NULL,
|
cs8230_write, NULL, 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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue