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
6200a48b
Commit
6200a48b
authored
Jul 31, 2000
by
Ove Kaaven
Committed by
Alexandre Julliard
Jul 31, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a few problems.
parent
28bbdb77
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
dosvm.c
loader/dos/dosvm.c
+2
-2
int09.c
msdos/int09.c
+7
-1
No files found.
loader/dos/dosvm.c
View file @
6200a48b
...
...
@@ -398,7 +398,7 @@ void DOSVM_Wait( int read_pipe, HANDLE hObject )
int
objc
;
BOOL
got_msg
=
FALSE
;
objs
[
0
]
=
GetStdHandle
(
STD_INPUT_HANDLE
)
;
objs
[
0
]
=
lpDosTask
->
hConInput
;
objs
[
1
]
=
hObject
;
objc
=
hObject
?
2
:
1
;
do
{
...
...
@@ -684,7 +684,7 @@ void DOSVM_QueueEvent( int irq, int priority, void (*relay)(LPDOSTASK,CONTEXT86*
/* callback event, perform it with dummy context */
CONTEXT86
context
;
memset
(
&
context
,
0
,
sizeof
(
context
));
(
*
relay
)(
lpDosTask
,
&
context
,
data
);
(
*
relay
)(
NULL
,
&
context
,
data
);
}
else
{
ERR_
(
int
)(
"IRQ without DOS task: should not happen"
);
}
...
...
msdos/int09.c
View file @
6200a48b
...
...
@@ -14,8 +14,10 @@
DEFAULT_DEBUG_CHANNEL
(
int
)
#define QUEUELEN 31
typedef
struct
{
BYTE
queuelen
,
queue
[
15
],
ascii
[
15
];
BYTE
queuelen
,
queue
[
QUEUELEN
],
ascii
[
QUEUELEN
];
}
KBDSYSTEM
;
/**********************************************************************
...
...
@@ -76,6 +78,10 @@ void WINAPI INT_Int09SendScan( BYTE scan, BYTE ascii )
sys
=
calloc
(
1
,
sizeof
(
KBDSYSTEM
));
DOSVM_SetSystemData
(
0x09
,
sys
);
}
if
(
sys
->
queuelen
==
QUEUELEN
)
{
ERR
(
"keyboard queue overflow
\n
"
);
return
;
}
/* add scancode to queue */
sys
->
queue
[
sys
->
queuelen
]
=
scan
;
sys
->
ascii
[
sys
->
queuelen
++
]
=
ascii
;
...
...
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