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
c0b2b9e1
Commit
c0b2b9e1
authored
Aug 20, 2000
by
Chris Morgan
Committed by
Alexandre Julliard
Aug 20, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stubbed INT 15 function 84h.
parent
06057e7a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
1 deletion
+25
-1
int15.c
msdos/int15.c
+25
-1
No files found.
msdos/int15.c
View file @
c0b2b9e1
...
...
@@ -12,12 +12,36 @@ DEFAULT_DEBUG_CHANNEL(int)
/**********************************************************************
* INT_Int15Handler
*
* Handler for int 15h
(old cassette interrupt).
* Handler for int 15h
*/
void
WINAPI
INT_Int15Handler
(
CONTEXT86
*
context
)
{
switch
(
AH_reg
(
context
))
{
case
0x84
:
/* read joystick information */
FIXME
(
"Read joystick information not implemented
\n
"
);
/* FIXME: report status as if no game port exists */
switch
(
DX_reg
(
context
))
{
case
0x0
:
/* read joystick switches */
AL_reg
(
context
)
=
0x0
;
/* all switches open */
break
;
case
0x1
:
/* read joystick position */
AX_reg
(
context
)
=
0x0
;
BX_reg
(
context
)
=
0x0
;
CX_reg
(
context
)
=
0x0
;
DX_reg
(
context
)
=
0x0
;
break
;
default
:
INT_BARF
(
context
,
0x15
);
break
;
}
RESET_CFLAG
(
context
);
break
;
case
0x88
:
/* get size of memory above 1 M */
AX_reg
(
context
)
=
64
;
/* FIXME: are 64K ok? */
RESET_CFLAG
(
context
);
...
...
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