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
f7c6049d
Commit
f7c6049d
authored
Oct 24, 1998
by
Joseph Pranevich
Committed by
Alexandre Julliard
Oct 24, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some traces and cleaned up a couple of things.
parent
e8d281d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
8 deletions
+22
-8
int10.c
msdos/int10.c
+22
-8
No files found.
msdos/int10.c
View file @
f7c6049d
...
...
@@ -35,15 +35,26 @@
void
WINAPI
INT_Int10Handler
(
CONTEXT
*
context
)
{
switch
(
AH_reg
(
context
))
{
switch
(
AH_reg
(
context
))
{
case
0x00
:
/* SET VIDEO MODE */
/* If the mode is 0x02 or 0x07 then we are still in
80x25 text and can ignore the request */
if
((
AL_reg
(
context
)
==
0x02
)
||
(
AL_reg
(
context
)
==
0x07
))
break
;
/* Text Modes: (can xterm or similar change text rows/cols?) */
/* (mode) (text rows/cols)
0x00 - 40x25
0x01 - 40x25
0x02 - 80x25
0x03 - 80x25 or 80x43 or 80x50
0x07 - 80x25
*/
FIXME
(
int10
,
"Set Video Mode - Not Supported
\n
"
);
if
((
AL_reg
(
context
)
==
0x02
)
||
(
AL_reg
(
context
)
==
0x07
))
{
TRACE
(
int10
,
"Set Video Mode - Set to Text - 0x0%x
\n
"
,
AL_reg
(
context
));
}
else
{
FIXME
(
int10
,
"Set Video Mode (0x%x) - Not Supported
\n
"
,
AL_reg
(
context
));
}
break
;
case
0x01
:
/* SET CURSOR SHAPE */
...
...
@@ -116,10 +127,12 @@ void WINAPI INT_Int10Handler( CONTEXT *context )
break
;
case
0x0e
:
/* TELETYPE OUTPUT */
TRACE
(
int10
,
"Teletype Output
\n
"
);
_lwrite16
(
1
,
&
AL_reg
(
context
),
1
);
break
;
case
0x0f
:
/* GET CURRENT VIDEO MODE */
TRACE
(
int10
,
"Get Current Video Mode
\n
"
);
AL_reg
(
context
)
=
0x5b
;
/* WHY ARE WE RETURNING THIS? */
break
;
...
...
@@ -129,7 +142,8 @@ void WINAPI INT_Int10Handler( CONTEXT *context )
FIXME
(
int10
,
"Set Single Palette Register - Not Supported
\n
"
);
break
;
case
0x01
:
/* SET BORDER (OVERSCAN) */
FIXME
(
int10
,
"Set Border (Overscan) - Not Supported
\n
"
);
/* Text terminals have no overscan */
TRACE
(
int10
,
"Set Border (Overscan) - Ignored
\n
"
);
break
;
case
0x02
:
/* SET ALL PALETTE REGISTERS */
FIXME
(
int10
,
"Set all palette registers - Not Supported
\n
"
);
...
...
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