diff --git a/CHANGELOG b/CHANGELOG index 87532b01a..6dd185156 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -52,6 +52,9 @@ - Fixed possible crash with printing. (jamesbond3142) - Fixed config option windowposition=x,y not working in Linux/macOS SDL1 builds. (Wengier) + - Make memory B0000-B7FFF unmapped for the CGA + emulation. Fixes "Backgammon 5.0" detecting that + an MDA is also present when using CGA. (Allofich) - Video emulation for PC-98 mode (for 400-line modes) is now 16:10 instead of 4:3. 480-line PC-98 modes are still 4:3. (joncampbell123) diff --git a/src/hardware/vga_memory.cpp b/src/hardware/vga_memory.cpp index c0a14c507..5d8d071d1 100644 --- a/src/hardware/vga_memory.cpp +++ b/src/hardware/vga_memory.cpp @@ -2283,6 +2283,7 @@ void VGA_SetupHandlers(void) { PageHandler *newHandler; switch (machine) { case MCH_CGA: + MEM_ResetPageHandler_Unmapped( VGA_PAGE_B0, 8 ); // B0000-B7FFF is unmapped if (enableCGASnow && (vga.mode == M_TEXT || vga.mode == M_TANDY_TEXT)) MEM_SetPageHandler( VGA_PAGE_B8, 8, &vgaph.cgatext ); else