Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
404eadc7
Commit
404eadc7
authored
Mar 27, 2006
by
Petr Tesarik
Committed by
Alexandre Julliard
Mar 27, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedos: Clear TF bit before passing control to a VM86 interrupt handler.
parent
fa68994a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
dosexe.h
dlls/winedos/dosexe.h
+1
-0
interrupts.c
dlls/winedos/interrupts.c
+2
-2
No files found.
dlls/winedos/dosexe.h
View file @
404eadc7
...
...
@@ -98,6 +98,7 @@ extern struct DPMI_segments *DOSVM_dpmi_segments;
* IF_MASK is only pushed into real mode stack.
*/
#define V86_FLAG 0x00020000
#define TF_MASK 0x00000100
#define IF_MASK 0x00000200
#define VIF_MASK 0x00080000
#define VIP_MASK 0x00100000
...
...
dlls/winedos/interrupts.c
View file @
404eadc7
...
...
@@ -514,8 +514,8 @@ void DOSVM_HardwareInterruptRM( CONTEXT86 *context, BYTE intnum )
context
->
SegCs
=
SELECTOROF
(
handler
);
context
->
Eip
=
OFFSETOF
(
handler
);
/* Clear virtual interrupt flag. */
context
->
EFlags
&=
~
VIF_MASK
;
/* Clear virtual interrupt flag
and trap flag
. */
context
->
EFlags
&=
~
(
VIF_MASK
|
TF_MASK
)
;
}
}
...
...
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