Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
a01bab77
Commit
a01bab77
authored
Nov 07, 1998
by
Andreas Mohr
Committed by
Alexandre Julliard
Nov 07, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made this file DOSMOD friendly.
parent
5fa740af
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
int21.c
msdos/int21.c
+1
-0
int25.c
msdos/int25.c
+3
-2
No files found.
msdos/int21.c
View file @
a01bab77
...
...
@@ -1069,6 +1069,7 @@ void WINAPI DOS3Call( CONTEXT *context )
LPSTR
data
=
CTX_SEG_OFF_TO_LIN
(
context
,
DS_reg
(
context
),
DX_reg
(
context
));
LONG
length
=
strchr
(
data
,
'$'
)
-
data
;
_hwrite16
(
1
,
data
,
length
);
AL_reg
(
context
)
=
'$'
;
/* yes, '$' (0x24) gets returned in AL */
}
break
;
...
...
msdos/int25.c
View file @
a01bab77
...
...
@@ -19,7 +19,7 @@
*/
void
WINAPI
INT_Int25Handler
(
CONTEXT
*
context
)
{
BYTE
*
dataptr
=
PTR_SEG_OFF_TO_LIN
(
DS_reg
(
context
),
BX_reg
(
context
)
);
BYTE
*
dataptr
=
CTX_SEG_OFF_TO_LIN
(
context
,
DS_reg
(
context
),
BX_reg
(
context
)
);
DWORD
begin
,
length
;
int
fd
;
...
...
@@ -34,7 +34,8 @@ void WINAPI INT_Int25Handler( CONTEXT *context )
{
begin
=
*
(
DWORD
*
)
dataptr
;
length
=
*
(
WORD
*
)(
dataptr
+
4
);
dataptr
=
(
BYTE
*
)
PTR_SEG_TO_LIN
(
*
(
SEGPTR
*
)(
dataptr
+
6
)
);
dataptr
=
(
BYTE
*
)
CTX_SEG_OFF_TO_LIN
(
context
,
*
(
WORD
*
)(
dataptr
+
8
),
*
(
WORD
*
)(
dataptr
+
6
)
);
}
else
{
...
...
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