From e96212597e0b11f2450d19711c55a427dda1d266 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 6 Jan 2018 20:32:26 +0200 Subject: [PATCH] Unmap Comspec $f0 ROM after autoconfig. --- a2091.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/a2091.cpp b/a2091.cpp index a0ccf0da..e0eb62d7 100644 --- a/a2091.cpp +++ b/a2091.cpp @@ -2893,11 +2893,17 @@ static void REGPARAM2 comspec_bput(struct wd_state *wd, uaecptr addr, uae_u32 b) map_banks_z2 (&wd->bank, b, 0x10000 >> 16); wd->baseaddress = b << 16; wd->configured = 1; + if (!wd->rc->autoboot_disabled && wd->rc->subtype == 0) { + map_banks(&dummy_bank, 0xf00000 >> 16, 1, 0); + } expamem_next (&wd->bank, NULL); return; } if (addr == 0x4c && !wd->configured) { wd->configured = 1; + if (!wd->rc->autoboot_disabled && wd->rc->subtype == 0) { + map_banks(&dummy_bank, 0xf00000 >> 16, 1, 0); + } expamem_shutup(&wd->bank); return; } -- 2.47.3