Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johnny Cai
wine
Commits
8a1ac6ed
Commit
8a1ac6ed
authored
22 years ago
by
Jukka Heinonen
Committed by
Alexandre Julliard
22 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Real mode interrupt handler now handles interrupt 21 function 0C.
parent
140e7222
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/winedos/int21.c
+16
-0
16 additions, 0 deletions
dlls/winedos/int21.c
with
16 additions
and
0 deletions
dlls/winedos/int21.c
+
16
−
0
View file @
8a1ac6ed
...
...
@@ -76,6 +76,22 @@ void WINAPI DOSVM_Int21Handler( CONTEXT86 *context )
{
RESET_CFLAG
(
context
);
/* Not sure if this is a good idea */
if
(
AH_reg
(
context
)
==
0x0c
)
/* FLUSH BUFFER AND READ STANDARD INPUT */
{
BYTE
al
=
AL_reg
(
context
);
/* Input function to execute after flush. */
/* FIXME: buffers are not flushed */
/*
* If AL is not one of 0x01, 0x06, 0x07, 0x08, or 0x0a,
* the buffer is flushed but no input is attempted.
*/
if
(
al
!=
0x01
&&
al
!=
0x06
&&
al
!=
0x07
&&
al
!=
0x08
&&
al
!=
0x0a
)
return
;
AH_reg
(
context
)
=
al
;
}
switch
(
AH_reg
(
context
))
{
case
0x00
:
/* TERMINATE PROGRAM */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment