Correct machine=ega200 modelist regarding mode 6 CGA 640x200 2-color mode [https://github.com/joncampbell123/dosbox-x/issues/5036]

This commit is contained in:
Jonathan Campbell
2024-06-06 00:48:38 -07:00
parent b937257b9c
commit 7022f09c58
2 changed files with 3 additions and 1 deletions

View File

@@ -1,4 +1,6 @@
Next:
- Correct mode parameters for CGA 640x200 2-color mode when using
machine=ega200 so that it displays correctly. (joncampbell123)
- DOS kernel: Remove fixed hacks for SFT and dynamically allocate the
second SFT table for the last N - 5 file handles. Add code to zero
SFT table memory to ensure that random data doesn't cause issues.

View File

@@ -469,7 +469,7 @@ VideoModeBlock ModeList_EGA_200[]={
{ 0x003 ,M_TEXT ,640 ,400 ,80 ,25 ,8 ,8 ,4 ,0xB8000 ,0x1000 ,118 ,262 ,80 ,200 ,0 },
{ 0x004 ,M_CGA4 ,320 ,200 ,40 ,25 ,8 ,8 ,1 ,0xB8000 ,0x4000 ,61 ,262 ,40 ,200 ,_EGA_HALF_CLOCK | _REPEAT1},
{ 0x005 ,M_CGA4 ,320 ,200 ,40 ,25 ,8 ,8 ,1 ,0xB8000 ,0x4000 ,61 ,262 ,40 ,200 ,_EGA_HALF_CLOCK | _REPEAT1},
{ 0x006 ,M_CGA2 ,640 ,200 ,80 ,25 ,8 ,8 ,1 ,0xB8000 ,0x4000 ,118 ,262 ,40 ,200 ,0 },
{ 0x006 ,M_CGA2 ,640 ,200 ,80 ,25 ,8 ,8 ,1 ,0xB8000 ,0x4000 ,118 ,262 ,80 ,200 ,_REPEAT1 },
{ 0x007 ,M_TEXT ,640 ,200 ,80 ,25 ,8 ,8 ,8 ,0xB0000 ,0x1000 ,118 ,262 ,80 ,200 ,0 },
{ 0x00D ,M_EGA ,320 ,200 ,40 ,25 ,8 ,8 ,8 ,0xA0000 ,0x2000 ,61 ,262 ,40 ,200 ,_EGA_HALF_CLOCK },
{ 0x00E ,M_EGA ,640 ,200 ,80 ,25 ,8 ,8 ,4 ,0xA0000 ,0x4000 ,118 ,262 ,80 ,200 ,0 },