Skip to content

Commit

Permalink
Correct machine=ega200 modelist regarding mode 6 CGA 640x200 2-color …
Browse files Browse the repository at this point in the history
…mode [#5036]
  • Loading branch information
joncampbell123 committed Jun 6, 2024
1 parent b937257 commit 7022f09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/ints/int10_modes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 7022f09

Please sign in to comment.