mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
Make memory B0000-B7FFF unmapped in CGA mode
This commit is contained in:
@@ -46,6 +46,9 @@
|
||||
of 8, rather than reading it from address 485h.
|
||||
Fixes corrupt graphics in the PC Booter version
|
||||
of Apple Panic. (Allofich)
|
||||
- Make memory B0000-B7FFF unmapped for the CGA
|
||||
emulation. Fixes "Backgammon 5.0" detecting that
|
||||
an MDA is also present when using CGA. (Allofich)
|
||||
- Fixed possible crash with printing. (jamesbond3142)
|
||||
- Video emulation for PC-98 mode (for 400-line modes)
|
||||
is now 16:10 instead of 4:3. 480-line PC-98 modes
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user