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
74214252
Commit
74214252
authored
Dec 02, 2002
by
Jukka Heinonen
Committed by
Alexandre Julliard
Dec 02, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename old DOS3Call as INT_Int21Handler and make new DOS3Call call
directly winedos int21 handler.
parent
c71cf7e6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
17 deletions
+33
-17
kernel32.spec
dlls/kernel/kernel32.spec
+1
-1
int21.c
dlls/winedos/int21.c
+9
-4
dpmi.c
msdos/dpmi.c
+21
-0
int21.c
msdos/int21.c
+2
-12
No files found.
dlls/kernel/kernel32.spec
View file @
74214252
...
...
@@ -986,7 +986,6 @@
@ stdcall AllocCStoDSAlias16(long) AllocCStoDSAlias16
@ stdcall AllocSelectorArray16(long) AllocSelectorArray16
@ stdcall ConvertDialog32To16(ptr long ptr) ConvertDialog32To16
@ stdcall DOS3Call(ptr) DOS3Call
@ stdcall ExitKernel16() ExitKernel16
@ stdcall FarGetOwner16(long) FarGetOwner16
@ stdcall FarSetOwner16(long long) FarSetOwner16
...
...
@@ -1057,6 +1056,7 @@
@ cdecl DOSMEM_GetDPMISegments() DOSMEM_GetDPMISegments
@ cdecl DOSMEM_Init(long) DOSMEM_Init
@ cdecl DRIVE_OpenDevice(long long) DRIVE_OpenDevice
@ stdcall INT_Int21Handler(ptr) INT_Int21Handler
@ cdecl LOCAL_Alloc(long long long) LOCAL_Alloc
@ cdecl LOCAL_Compact(long long long) LOCAL_Compact
@ cdecl LOCAL_CountFree(long) LOCAL_CountFree
...
...
dlls/winedos/int21.c
View file @
74214252
...
...
@@ -35,6 +35,11 @@
#include "wine/unicode.h"
#include "wine/debug.h"
/*
* FIXME: Delete this reference when all int21 code has been moved to winedos.
*/
extern
void
WINAPI
INT_Int21Handler
(
CONTEXT86
*
context
);
WINE_DEFAULT_DEBUG_CHANNEL
(
int21
);
void
WINAPI
DOSVM_Int21Handler_Ioctl
(
CONTEXT86
*
context
)
...
...
@@ -65,7 +70,7 @@ void WINAPI DOSVM_Int21Handler_Ioctl( CONTEXT86 *context )
RESET_CFLAG
(
context
);
break
;
default:
DOS3Call
(
context
);
INT_Int21Handler
(
context
);
}
}
...
...
@@ -79,7 +84,7 @@ void WINAPI DOSVM_Int21Handler( CONTEXT86 *context )
BYTE
ascii
;
if
(
DOSVM_IsWin16
())
{
DOS3Call
(
context
);
INT_Int21Handler
(
context
);
return
;
}
...
...
@@ -200,7 +205,7 @@ void WINAPI DOSVM_Int21Handler( CONTEXT86 *context )
for
(
i
=
0
;
i
<
CX_reg
(
context
);
i
++
)
DOSVM_PutChar
(
ptr
[
i
]);
}
else
DOS3Call
(
context
);
INT_Int21Handler
(
context
);
break
;
case
0x44
:
/* IOCTL */
...
...
@@ -256,6 +261,6 @@ void WINAPI DOSVM_Int21Handler( CONTEXT86 *context )
break
;
default:
DOS3Call
(
context
);
INT_Int21Handler
(
context
);
}
}
msdos/dpmi.c
View file @
74214252
...
...
@@ -24,6 +24,7 @@
#include "winbase.h"
#include "callback.h"
#include "wine/debug.h"
#include "wine/windef16.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
int31
);
...
...
@@ -66,3 +67,23 @@ void WINAPI NetBIOSCall16( CONTEXT86 *context )
if
(
Dosvm
.
CallBuiltinHandler
||
DPMI_LoadDosSystem
())
Dosvm
.
CallBuiltinHandler
(
context
,
0x5c
);
}
/***********************************************************************
* DOS3Call (KERNEL.102)
*/
void
WINAPI
DOS3Call
(
CONTEXT86
*
context
)
{
if
(
Dosvm
.
CallBuiltinHandler
||
DPMI_LoadDosSystem
())
Dosvm
.
CallBuiltinHandler
(
context
,
0x21
);
}
/***********************************************************************
* GetSetKernelDOSProc (KERNEL.311)
*/
FARPROC16
WINAPI
GetSetKernelDOSProc16
(
FARPROC16
DosProc
)
{
FIXME
(
"(DosProc=0x%08x): stub
\n
"
,
(
UINT
)
DosProc
);
return
NULL
;
}
msdos/int21.c
View file @
74214252
...
...
@@ -1120,10 +1120,9 @@ static void INT21_GetExtendedError( CONTEXT86 *context )
}
/***********************************************************************
* DOS3Call (KERNEL.102)
* INT_Int21Handler (WPROCS.133)
* INT_Int21Handler
*/
void
WINAPI
DOS3Call
(
CONTEXT86
*
context
)
void
WINAPI
INT_Int21Handler
(
CONTEXT86
*
context
)
{
BOOL
bSetDOSExtendedError
=
FALSE
;
...
...
@@ -2409,12 +2408,3 @@ void WINAPI DOS3Call( CONTEXT86 *context )
(
WORD
)
context
->
SegDs
,
(
WORD
)
context
->
SegEs
,
context
->
EFlags
);
}
/***********************************************************************
* GetSetKernelDOSProc (KERNEL.311)
*/
FARPROC16
WINAPI
GetSetKernelDOSProc16
(
FARPROC16
DosProc
)
{
FIXME
(
"(DosProc=0x%08x): stub
\n
"
,
(
UINT
)
DosProc
);
return
NULL
;
}
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