Vesa 16 color modes use the highres vga/textmode palette
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2790
This commit is contained in:
parent
5ef29db806
commit
42adb8617c
1 changed files with 3 additions and 1 deletions
|
@ -802,8 +802,8 @@ bool INT10_SetVideoMode(Bitu mode) {
|
|||
att_data[0x12]=0xf; //Always have all color planes enabled
|
||||
/* Program Attribute Controller */
|
||||
switch (CurMode->type) {
|
||||
case M_LIN4:
|
||||
case M_EGA:
|
||||
case M_LIN4:
|
||||
att_data[0x10]=0x01; //Color Graphics
|
||||
switch (CurMode->mode) {
|
||||
case 0x0f:
|
||||
|
@ -820,6 +820,8 @@ bool INT10_SetVideoMode(Bitu mode) {
|
|||
case 0x10:
|
||||
case 0x12: goto att_text16;
|
||||
default:
|
||||
if ( CurMode->type == M_LIN4 )
|
||||
goto att_text16;
|
||||
for (i=0;i<8;i++) {
|
||||
att_data[i]=i;
|
||||
att_data[i+8]=i+0x10;
|
||||
|
|
Loading…
Add table
Reference in a new issue