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
4dfd8592
Commit
4dfd8592
authored
Mar 25, 1999
by
Ove Kaaven
Committed by
Alexandre Julliard
Mar 25, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added int 0x09 and int 0x33.
parent
baed48e4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
2 deletions
+20
-2
miscemu.h
include/miscemu.h
+10
-0
Makefile.in
msdos/Makefile.in
+2
-0
interrupts.c
msdos/interrupts.c
+8
-2
No files found.
include/miscemu.h
View file @
4dfd8592
...
...
@@ -112,6 +112,11 @@ extern void IO_port_init (void);
extern
DWORD
IO_inport
(
int
port
,
int
count
);
extern
void
IO_outport
(
int
port
,
int
count
,
DWORD
value
);
/* msdos/int09.c */
extern
void
WINAPI
INT_Int09Handler
(
CONTEXT
*
);
extern
void
WINAPI
INT_Int09SendScan
(
BYTE
);
extern
BYTE
WINAPI
INT_Int09ReadScan
(
void
);
/* msdos/int10.c */
extern
void
WINAPI
INT_Int10Handler
(
CONTEXT
*
);
...
...
@@ -155,11 +160,16 @@ extern void WINAPI INT_Int29Handler(CONTEXT*);
/* msdos/int2f.c */
extern
void
WINAPI
INT_Int2fHandler
(
CONTEXT
*
);
/* msdos/int33.c */
extern
void
WINAPI
INT_Int33Handler
(
CONTEXT
*
);
extern
void
WINAPI
INT_Int33Message
(
UINT
,
WPARAM
,
LPARAM
);
/* msdos/dpmi.c */
typedef
void
WINAPI
(
*
RMCBPROC
)(
CONTEXT
*
);
extern
void
WINAPI
INT_Int31Handler
(
CONTEXT
*
);
extern
FARPROC16
WINAPI
DPMI_AllocInternalRMCB
(
RMCBPROC
);
extern
void
WINAPI
DPMI_FreeInternalRMCB
(
FARPROC16
);
extern
int
DPMI_CallRMProc
(
CONTEXT
*
,
LPWORD
,
int
,
int
);
/* msdos/xms.c */
extern
void
WINAPI
XMS_Handler
(
CONTEXT
*
);
...
...
msdos/Makefile.in
View file @
4dfd8592
...
...
@@ -10,6 +10,7 @@ C_SRCS = \
dosmem.c
\
dpmi.c
\
xms.c
\
int09.c
\
int10.c
\
int11.c
\
int12.c
\
...
...
@@ -26,6 +27,7 @@ C_SRCS = \
int29.c
\
int2a.c
\
int2f.c
\
int33.c
\
int3d.c
\
int41.c
\
int4b.c
\
...
...
msdos/interrupts.c
View file @
4dfd8592
...
...
@@ -101,6 +101,9 @@ int INT_RealModeInterrupt( BYTE intnum, PCONTEXT context )
/* we should really map to if1632/wprocs.spec, but not all
* interrupt handlers are adapted to support real mode yet */
switch
(
intnum
)
{
case
0x09
:
INT_Int09Handler
(
context
);
break
;
case
0x10
:
INT_Int10Handler
(
context
);
break
;
...
...
@@ -134,14 +137,17 @@ int INT_RealModeInterrupt( BYTE intnum, PCONTEXT context )
case
0x25
:
INT_Int25Handler
(
context
);
break
;
case
0x29
:
INT_Int29Handler
(
context
);
break
;
case
0x2f
:
INT_Int2fHandler
(
context
);
break
;
case
0x31
:
INT_Int31Handler
(
context
);
break
;
case
0x
29
:
INT_Int
29
Handler
(
context
);
case
0x
33
:
INT_Int
33
Handler
(
context
);
break
;
default:
FIXME
(
int
,
"Unknown Interrupt in DOS mode: 0x%x
\n
"
,
intnum
);
...
...
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