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
e58bd1ba
Commit
e58bd1ba
authored
Jul 25, 2000
by
Ove Kaaven
Committed by
Alexandre Julliard
Jul 25, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make int16 read from the BIOS keyboard buffer, not directly from the
console driver.
parent
0e823c56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
int16.c
msdos/int16.c
+5
-5
No files found.
msdos/int16.c
View file @
e58bd1ba
...
...
@@ -8,7 +8,7 @@
#include "config.h"
#include "module.h"
#include "
consol
e.h"
#include "
dosex
e.h"
#include "wincon.h"
#include "debugtools.h"
#include "windef.h"
...
...
@@ -37,7 +37,7 @@ void WINAPI INT_Int16Handler( CONTEXT86 *context )
/* Returns: AH = Scan code
AL = ASCII character */
TRACE
(
"Get Keystroke
\n
"
);
CONSOLE_GetKeystroke
(
&
AH_reg
(
context
),
&
AL_reg
(
context
)
);
INT_Int16ReadChar
(
&
AL_reg
(
context
),
&
AH_reg
(
context
),
FALSE
);
break
;
case
0x01
:
/* Check for Keystroke */
...
...
@@ -45,7 +45,7 @@ void WINAPI INT_Int16Handler( CONTEXT86 *context )
/* AH = Scan code */
/* AL = ASCII character */
TRACE
(
"Check for Keystroke
\n
"
);
if
(
!
CONSOLE_CheckForKeystroke
(
&
AH_reg
(
context
),
&
AL_reg
(
context
)
))
if
(
!
INT_Int16ReadChar
(
&
AL_reg
(
context
),
&
AH_reg
(
context
),
TRUE
))
{
SET_ZFLAG
(
context
);
}
...
...
@@ -95,7 +95,7 @@ void WINAPI INT_Int16Handler( CONTEXT86 *context )
TRACE
(
"Get Enhanced Keystroke - Partially supported
\n
"
);
/* Returns: AH = Scan code
AL = ASCII character */
CONSOLE_GetKeystroke
(
&
AH_reg
(
context
),
&
AL_reg
(
context
)
);
INT_Int16ReadChar
(
&
AL_reg
(
context
),
&
AH_reg
(
context
),
FALSE
);
break
;
...
...
@@ -104,7 +104,7 @@ void WINAPI INT_Int16Handler( CONTEXT86 *context )
/* AH = Scan code */
/* AL = ASCII character */
TRACE
(
"Check for Enhanced Keystroke - Partially supported
\n
"
);
if
(
!
CONSOLE_CheckForKeystroke
(
&
AH_reg
(
context
),
&
AL_reg
(
context
)
))
if
(
!
INT_Int16ReadChar
(
&
AL_reg
(
context
),
&
AH_reg
(
context
),
TRUE
))
{
SET_ZFLAG
(
context
);
}
...
...
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