T3100E: Set memory state of the 384 kB immediately above the top of RAM to read/write internal, allows the remapping of the upper 384k to the top of RAM to actually work, fixes #4809.

This commit is contained in:
OBattler
2024-09-18 19:20:34 +02:00
parent 7ae5110af2
commit 1a877cef87

View File

@@ -850,6 +850,9 @@ machine_at_t3100e_init(const machine_t *model)
NULL, MEM_MAPPING_INTERNAL, &t3100e_ems);
mem_mapping_disable(&t3100e_ems.upper_mapping);
if (mem_size < (16384 - 448))
mem_set_mem_state_both(mem_size * 1024, 384 * 1024, MEM_READ_INTERNAL | MEM_WRITE_INTERNAL);
device_add(&t3100e_device);
return ret;