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
60e0491f
Commit
60e0491f
authored
Nov 30, 2002
by
Andreas Mohr
Committed by
Alexandre Julliard
Nov 30, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed text mode value.
parent
10c5d277
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
int10.c
dlls/winedos/int10.c
+9
-9
No files found.
dlls/winedos/int10.c
View file @
60e0491f
...
@@ -74,7 +74,7 @@ static void DOSVM_InitializeVideoMode( BIOSDATA *data )
...
@@ -74,7 +74,7 @@ static void DOSVM_InitializeVideoMode( BIOSDATA *data )
if
(
width
>=
80
&&
height
>=
25
)
{
if
(
width
>=
80
&&
height
>=
25
)
{
VGA_SetAlphaMode
(
80
,
25
);
VGA_SetAlphaMode
(
80
,
25
);
data
->
VideoColumns
=
80
;
data
->
VideoColumns
=
80
;
data
->
VideoMode
=
0x0
2
;
data
->
VideoMode
=
0x0
3
;
}
else
{
}
else
{
VGA_SetAlphaMode
(
40
,
25
);
VGA_SetAlphaMode
(
40
,
25
);
data
->
VideoColumns
=
40
;
data
->
VideoColumns
=
40
;
...
@@ -464,8 +464,8 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
...
@@ -464,8 +464,8 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
else
else
{
{
VGA_SetCursorPos
(
DL_reg
(
context
),
DH_reg
(
context
));
VGA_SetCursorPos
(
DL_reg
(
context
),
DH_reg
(
context
));
TRACE
(
"Set Cursor Position: %d
%d
\n
"
,
DH
_reg
(
context
),
TRACE
(
"Set Cursor Position: %d
/%d
\n
"
,
DL
_reg
(
context
),
D
L
_reg
(
context
));
D
H
_reg
(
context
));
}
}
break
;
break
;
...
@@ -478,7 +478,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
...
@@ -478,7 +478,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
BIOS_GetCursorPos
(
data
,
BH_reg
(
context
),
&
col
,
&
row
);
BIOS_GetCursorPos
(
data
,
BH_reg
(
context
),
&
col
,
&
row
);
SET_DH
(
context
,
row
);
SET_DH
(
context
,
row
);
SET_DL
(
context
,
col
);
SET_DL
(
context
,
col
);
TRACE
(
"Cursor Position: %d
%d
\n
"
,
DH_reg
(
context
),
DL
_reg
(
context
));
TRACE
(
"Cursor Position: %d
/%d
\n
"
,
DL_reg
(
context
),
DH
_reg
(
context
));
}
}
break
;
break
;
...
@@ -488,7 +488,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
...
@@ -488,7 +488,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
break
;
break
;
case
0x05
:
/* SELECT ACTIVE DISPLAY PAGE */
case
0x05
:
/* SELECT ACTIVE DISPLAY PAGE */
FIXME
(
"Select Active Display Page
- Not Supported
\n
"
);
FIXME
(
"Select Active Display Page
(%d) - Not Supported
\n
"
,
AL_reg
(
context
)
);
data
->
VideoCurPage
=
AL_reg
(
context
);
data
->
VideoCurPage
=
AL_reg
(
context
);
break
;
break
;
...
@@ -569,11 +569,11 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
...
@@ -569,11 +569,11 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
also sets up the default background attributes for clears
also sets up the default background attributes for clears
and scrolls... */
and scrolls... */
/* Bear in mind here that we do not want to change,
/* Bear in mind here that we do not want to change,
appar
a
ntly, the foreground or attribute of the background
appar
e
ntly, the foreground or attribute of the background
with this call, so we should check first to see what the
with this call, so we should check first to see what the
foreground already is... FIXME */
foreground already is... FIXME */
FIXME
(
"Set Background/Border Color: %d
\n
"
,
FIXME
(
"Set Background/Border Color: %d
/%d
\n
"
,
BL_reg
(
context
));
B
H_reg
(
context
),
B
L_reg
(
context
));
break
;
break
;
case
0x01
:
/* SET PALETTE */
case
0x01
:
/* SET PALETTE */
FIXME
(
"Set Palette - Not Supported
\n
"
);
FIXME
(
"Set Palette - Not Supported
\n
"
);
...
@@ -601,7 +601,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
...
@@ -601,7 +601,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
break
;
break
;
case
0x0f
:
/* GET CURRENT VIDEO MODE */
case
0x0f
:
/* GET CURRENT VIDEO MODE */
TRACE
(
"Get current video mode
\n
"
);
TRACE
(
"Get current video mode
: -> mode %d, columns %d
\n
"
,
data
->
VideoMode
,
data
->
VideoColumns
);
/* Note: This should not be a constant value. */
/* Note: This should not be a constant value. */
SET_AL
(
context
,
data
->
VideoMode
);
SET_AL
(
context
,
data
->
VideoMode
);
SET_AH
(
context
,
data
->
VideoColumns
);
SET_AH
(
context
,
data
->
VideoColumns
);
...
...
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