Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Yoann Laissus
wine
Commits
c0b2b9e1
Commit
c0b2b9e1
authored
24 years ago
by
Chris Morgan
Committed by
Alexandre Julliard
24 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Stubbed INT 15 function 84h.
parent
06057e7a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
msdos/int15.c
+25
-1
25 additions, 1 deletion
msdos/int15.c
with
25 additions
and
1 deletion
msdos/int15.c
+
25
−
1
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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment