mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
Added some more vga video modes.
This commit is contained in:
parent
a0fd289aef
commit
9bfdb1bcfa
@ -45,12 +45,13 @@ static int color_palette[16];
|
||||
*
|
||||
* Joseph Pranevich - 9/98
|
||||
*/
|
||||
/* Added support for Vesa. It is not complete but is a start.
|
||||
/* Jess Haas 2/99
|
||||
* Added support for Vesa. It is not complete but is a start.
|
||||
* NOTE: Im not sure if i did all this right or if eny of it works.
|
||||
* Currently i dont have a program that uses Vesa that actually gets far
|
||||
* enough without crashing to do vesa stuff.
|
||||
*
|
||||
* Jess Haas - 2/99
|
||||
*
|
||||
* Added additional vga graphic support - 3/99
|
||||
*/
|
||||
|
||||
void WINAPI INT_Int10Handler( CONTEXT *context )
|
||||
@ -129,7 +130,43 @@ void WINAPI INT_Int10Handler( CONTEXT *context )
|
||||
CONSOLE_ClearScreen();
|
||||
DOSMEM_BiosData()->VideoColumns = 80;
|
||||
break;
|
||||
case 0x13:
|
||||
case 0x04:
|
||||
TRACE(int10, "Setting VGA 320x200 4-color mode\n");
|
||||
VGA_SetMode(320,200,2); /* FIXME is this right/supported? */
|
||||
break;
|
||||
case 0x05:
|
||||
TRACE(int10, "Setting VGA 320x200 4-color mode\n");
|
||||
VGA_SetMode(320,200,2); /* FIXME is this right/supported? */
|
||||
break;
|
||||
case 0x06:
|
||||
TRACE(int10, "Setting VGA 640x200 2-color mode\n");
|
||||
VGA_SetMode(640,200,1); /* FIXME is this right/supported? */
|
||||
break;
|
||||
case 0x0D:
|
||||
TRACE(int10, "Setting VGA 320x200 16-color mode\n");
|
||||
VGA_SetMode(320,200,4);
|
||||
break;
|
||||
case 0x0E:
|
||||
TRACE(int10, "Setting VGA 640x200 16-color mode\n");
|
||||
VGA_SetMode(640,200,4);
|
||||
break;
|
||||
case 0x0F:
|
||||
TRACE(int10, "Setting VGA 640x350 2-color mode\n");
|
||||
VGA_SetMode(640,350,1); /* FIXME is this right/supported? */
|
||||
break;
|
||||
case 0x10:
|
||||
TRACE(int10, "Setting VGA 640x350 16-color mode\n");
|
||||
VGA_SetMode(640,350,4);
|
||||
break;
|
||||
case 0x11:
|
||||
TRACE(int10, "Setting VGA 640x480 2-color mode\n");
|
||||
VGA_SetMode(640,480,1); /* FIXME is this right/supported? */
|
||||
break;
|
||||
case 0x12:
|
||||
TRACE(int10, "Setting VGA 640x480 16-color mode\n");
|
||||
VGA_SetMode(640,480,4);
|
||||
break;
|
||||
case 0x13:
|
||||
TRACE(int10, "Setting VESA 320x200 256-color mode\n");
|
||||
VGA_SetMode(320,200,8);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user