Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9bfdb1bc
Commit
9bfdb1bc
authored
Mar 14, 1999
by
Jess Haas
Committed by
Alexandre Julliard
Mar 14, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some more vga video modes.
parent
a0fd289a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
2 deletions
+39
-2
int10.c
msdos/int10.c
+39
-2
No files found.
msdos/int10.c
View file @
9bfdb1bc
...
...
@@ -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,6 +130,42 @@ void WINAPI INT_Int10Handler( CONTEXT *context )
CONSOLE_ClearScreen
();
DOSMEM_BiosData
()
->
VideoColumns
=
80
;
break
;
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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment