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
68c447d8
Commit
68c447d8
authored
Feb 06, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 07, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
krnl386.exe16: Let C look like C.
parent
f9c3a612
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
int10.c
dlls/krnl386.exe16/int10.c
+5
-5
int16.c
dlls/krnl386.exe16/int16.c
+1
-1
int67.c
dlls/krnl386.exe16/int67.c
+3
-3
No files found.
dlls/krnl386.exe16/int10.c
View file @
68c447d8
...
@@ -1123,7 +1123,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT *context )
...
@@ -1123,7 +1123,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT *context )
break
;
break
;
case
0x0b
:
case
0x0b
:
switch
BH_reg
(
context
)
{
switch
(
BH_reg
(
context
)
)
{
case
0x00
:
/* SET BACKGROUND/BORDER COLOR */
case
0x00
:
/* SET BACKGROUND/BORDER COLOR */
/* In text modes, this sets only the border... */
/* In text modes, this sets only the border... */
/* According to the interrupt list and one of my books. */
/* According to the interrupt list and one of my books. */
...
@@ -1192,7 +1192,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT *context )
...
@@ -1192,7 +1192,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT *context )
break
;
break
;
case
0x10
:
case
0x10
:
switch
AL_reg
(
context
)
{
switch
(
AL_reg
(
context
)
)
{
case
0x00
:
/* SET SINGLE PALETTE REGISTER - A.C. */
case
0x00
:
/* SET SINGLE PALETTE REGISTER - A.C. */
TRACE
(
"Set Single Palette Register - Reg 0x0%x Value 0x0%x
\n
"
,
TRACE
(
"Set Single Palette Register - Reg 0x0%x Value 0x0%x
\n
"
,
BL_reg
(
context
),
BH_reg
(
context
));
BL_reg
(
context
),
BH_reg
(
context
));
...
@@ -1291,7 +1291,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT *context )
...
@@ -1291,7 +1291,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT *context )
case
0x11
:
/* TEXT MODE CHARGEN */
case
0x11
:
/* TEXT MODE CHARGEN */
/* Note that second subfunction is *almost* identical. */
/* Note that second subfunction is *almost* identical. */
/* See INTERRUPT.A for details. */
/* See INTERRUPT.A for details. */
switch
AL_reg
(
context
)
{
switch
(
AL_reg
(
context
)
)
{
case
0x00
:
/* LOAD USER SPECIFIED PATTERNS */
case
0x00
:
/* LOAD USER SPECIFIED PATTERNS */
case
0x10
:
case
0x10
:
FIXME
(
"Load User Specified Patterns - Not Supported
\n
"
);
FIXME
(
"Load User Specified Patterns - Not Supported
\n
"
);
...
@@ -1339,7 +1339,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT *context )
...
@@ -1339,7 +1339,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT *context )
break
;
break
;
case
0x12
:
/* ALTERNATE FUNCTION SELECT */
case
0x12
:
/* ALTERNATE FUNCTION SELECT */
switch
BL_reg
(
context
)
{
switch
(
BL_reg
(
context
)
)
{
case
0x10
:
/* GET EGA INFO */
case
0x10
:
/* GET EGA INFO */
TRACE
(
"EGA info requested
\n
"
);
TRACE
(
"EGA info requested
\n
"
);
SET_BH
(
context
,
0x00
);
/* Color screen */
SET_BH
(
context
,
0x00
);
/* Color screen */
...
@@ -1385,7 +1385,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT *context )
...
@@ -1385,7 +1385,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT *context )
break
;
break
;
case
0x1a
:
case
0x1a
:
switch
AL_reg
(
context
)
{
switch
(
AL_reg
(
context
)
)
{
case
0x00
:
/* GET DISPLAY COMBINATION CODE */
case
0x00
:
/* GET DISPLAY COMBINATION CODE */
TRACE
(
"Get Display Combination Code
\n
"
);
TRACE
(
"Get Display Combination Code
\n
"
);
SET_AL
(
context
,
0x1a
);
/* Function supported */
SET_AL
(
context
,
0x1a
);
/* Function supported */
...
...
dlls/krnl386.exe16/int16.c
View file @
68c447d8
...
@@ -52,7 +52,7 @@ void WINAPI DOSVM_Int16Handler( CONTEXT *context )
...
@@ -52,7 +52,7 @@ void WINAPI DOSVM_Int16Handler( CONTEXT *context )
BIOSDATA
*
data
=
NULL
;
BIOSDATA
*
data
=
NULL
;
BYTE
ascii
,
scan
;
BYTE
ascii
,
scan
;
switch
AH_reg
(
context
)
{
switch
(
AH_reg
(
context
)
)
{
case
0x00
:
/* Get Keystroke */
case
0x00
:
/* Get Keystroke */
/* Returns: AH = Scan code
/* Returns: AH = Scan code
...
...
dlls/krnl386.exe16/int67.c
View file @
68c447d8
...
@@ -149,7 +149,7 @@ static void EMS_access_name( CONTEXT *context )
...
@@ -149,7 +149,7 @@ static void EMS_access_name( CONTEXT *context )
return
;
return
;
}
}
switch
AL_reg
(
context
)
{
switch
(
AL_reg
(
context
)
)
{
case
0x00
:
/* get name */
case
0x00
:
/* get name */
ptr
=
PTR_REAL_TO_LIN
(
context
->
SegEs
,
DI_reg
(
context
));
ptr
=
PTR_REAL_TO_LIN
(
context
->
SegEs
,
DI_reg
(
context
));
memcpy
(
ptr
,
EMS_record
->
handle
[
hindex
].
name
,
8
);
memcpy
(
ptr
,
EMS_record
->
handle
[
hindex
].
name
,
8
);
...
@@ -326,7 +326,7 @@ static void EMS_restore_context( CONTEXT *context )
...
@@ -326,7 +326,7 @@ static void EMS_restore_context( CONTEXT *context )
*/
*/
void
WINAPI
DOSVM_Int67Handler
(
CONTEXT
*
context
)
void
WINAPI
DOSVM_Int67Handler
(
CONTEXT
*
context
)
{
{
switch
AH_reg
(
context
)
{
switch
(
AH_reg
(
context
)
)
{
case
0x40
:
/* EMS - GET MANAGER STATUS */
case
0x40
:
/* EMS - GET MANAGER STATUS */
SET_AH
(
context
,
0
);
/* status: ok */
SET_AH
(
context
,
0
);
/* status: ok */
...
@@ -465,7 +465,7 @@ void EMS_Ioctl_Handler( CONTEXT *context )
...
@@ -465,7 +465,7 @@ void EMS_Ioctl_Handler( CONTEXT *context )
{
{
assert
(
AH_reg
(
context
)
==
0x44
);
assert
(
AH_reg
(
context
)
==
0x44
);
switch
AL_reg
(
context
)
{
switch
(
AL_reg
(
context
)
)
{
case
0x00
:
/* IOCTL - GET DEVICE INFORMATION */
case
0x00
:
/* IOCTL - GET DEVICE INFORMATION */
RESET_CFLAG
(
context
);
/* operation was successful */
RESET_CFLAG
(
context
);
/* operation was successful */
SET_DX
(
context
,
0x4080
);
/* bit 14 (support ioctl read) and
SET_DX
(
context
,
0x4080
);
/* bit 14 (support ioctl read) and
...
...
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