From 49ec3903a51a0d57c66800914268115b9cdd0f21 Mon Sep 17 00:00:00 2001 From: TC1995 Date: Sun, 11 Oct 2020 14:18:32 +0200 Subject: [PATCH] Fixed the crashes the IBM PS/1 2133 issued with Windows 95 running with 8MB-16MB of memory. --- src/mem/mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mem/mem.c b/src/mem/mem.c index 5839c299a..050cc31fb 100644 --- a/src/mem/mem.c +++ b/src/mem/mem.c @@ -2857,7 +2857,7 @@ mem_remap_top(int kb) mem_set_mem_state_both(start * 1024, size * 1024, MEM_READ_INTERNAL | MEM_WRITE_INTERNAL); mem_mapping_set_addr(&ram_remapped_mapping, start * 1024, size * 1024); - mem_mapping_set_exec(&ram_remapped_mapping, ram + (start * 1024)); + mem_mapping_set_exec(&ram_remapped_mapping, ram + 0xa0000); flushmmucache(); }