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
fe2acc13
Commit
fe2acc13
authored
Nov 06, 2002
by
Jukka Heinonen
Committed by
Alexandre Julliard
Nov 06, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Start using winedos handlers for all interrupts.
parent
9234cba1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
30 deletions
+3
-30
dosvm.c
dlls/winedos/dosvm.c
+2
-29
interrupts.c
dlls/winedos/interrupts.c
+1
-1
No files found.
dlls/winedos/dosvm.c
View file @
fe2acc13
...
...
@@ -628,25 +628,6 @@ void WINAPI DOSVM_QueueEvent( INT irq, INT priority, DOSRELAY relay, LPVOID data
#endif
static
const
INTPROC
real_mode_handlers
[]
=
{
/* 00 */
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
/* 08 */
0
,
DOSVM_Int09Handler
,
0
,
0
,
0
,
0
,
0
,
0
,
/* 10 */
DOSVM_Int10Handler
,
INT_Int11Handler
,
INT_Int12Handler
,
INT_Int13Handler
,
0
,
INT_Int15Handler
,
DOSVM_Int16Handler
,
DOSVM_Int17Handler
,
/* 18 */
0
,
0
,
INT_Int1aHandler
,
0
,
0
,
0
,
0
,
0
,
/* 20 */
DOSVM_Int20Handler
,
DOSVM_Int21Handler
,
0
,
0
,
0
,
INT_Int25Handler
,
0
,
0
,
/* 28 */
0
,
DOSVM_Int29Handler
,
INT_Int2aHandler
,
0
,
0
,
0
,
0
,
INT_Int2fHandler
,
/* 30 */
0
,
DOSVM_Int31Handler
,
0
,
DOSVM_Int33Handler
,
INT_Int34Handler
,
INT_Int35Handler
,
INT_Int36Handler
,
INT_Int37Handler
,
/* 38 */
INT_Int38Handler
,
INT_Int39Handler
,
INT_Int3aHandler
,
INT_Int3bHandler
,
INT_Int3cHandler
,
INT_Int3dHandler
,
INT_Int3eHandler
,
0
,
/* 40 */
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
/* 48 */
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
/* 50 */
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
/* 58 */
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
/* 60 */
0
,
0
,
0
,
0
,
0
,
0
,
0
,
DOSVM_Int67Handler
};
/**********************************************************************
* DOSVM_RealModeInterrupt
*
...
...
@@ -654,16 +635,8 @@ static const INTPROC real_mode_handlers[] =
*/
void
DOSVM_RealModeInterrupt
(
BYTE
intnum
,
CONTEXT86
*
context
)
{
if
(
intnum
<
sizeof
(
real_mode_handlers
)
/
sizeof
(
INTPROC
)
&&
real_mode_handlers
[
intnum
])
(
*
real_mode_handlers
[
intnum
])(
context
);
else
{
FIXME
(
"Unknown Interrupt in DOS mode: 0x%x
\n
"
,
intnum
);
FIXME
(
" eax=%08lx ebx=%08lx ecx=%08lx edx=%08lx
\n
"
,
context
->
Eax
,
context
->
Ebx
,
context
->
Ecx
,
context
->
Edx
);
FIXME
(
" esi=%08lx edi=%08lx ds=%04lx es=%04lx
\n
"
,
context
->
Esi
,
context
->
Edi
,
context
->
SegDs
,
context
->
SegEs
);
}
INTPROC
proc
=
DOSVM_GetBuiltinHandler
(
intnum
);
proc
(
context
);
}
...
...
dlls/winedos/interrupts.c
View file @
fe2acc13
...
...
@@ -159,7 +159,7 @@ void WINAPI DOSVM_EmulateInterruptPM( CONTEXT86 *context, BYTE intnum )
}
else
{
FARPROC16
addr
=
INT_GetPMHandler
(
intnum
);
/* FIXME: DOSVM_GetPMHandler16 */
FARPROC16
addr
=
DOSVM_GetPMHandler16
(
intnum
);
WORD
*
stack
=
CTX_SEG_OFF_TO_LIN
(
context
,
context
->
SegSs
,
context
->
Esp
);
/* Push the flags and return address on the stack */
*
(
--
stack
)
=
LOWORD
(
context
->
EFlags
);
...
...
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