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
26e16530
Commit
26e16530
authored
Sep 23, 1999
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented uppercasing functions (based on a patch by Robert
'Admiral' Coeyman).
parent
8276f696
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
int21.c
msdos/int21.c
+13
-0
No files found.
msdos/int21.c
View file @
26e16530
...
...
@@ -2015,6 +2015,19 @@ void WINAPI DOS3Call( CONTEXT86 *context )
*
(
DWORD
*
)(
dataptr
+
1
)
=
MAKELONG
(
DOSMEM_CollateTable
&
0xFFFF
,
DOSMEM_AllocSelector
(
DOSMEM_CollateTable
>>
16
));
CX_reg
(
context
)
=
258
;
/*FIXME: size of table?*/
break
;
case
0x20
:
TRACE
(
"
\t
Convert char to uppercase
\n
"
);
DL_reg
(
context
)
=
toupper
(
DL_reg
(
context
));
break
;
case
0x21
:
TRACE
(
"
\t
convert string to uppercase with length
\n
"
);
CharUpperBuffA
(
(
LPSTR
)
CTX_SEG_OFF_TO_LIN
(
context
,
DS_reg
(
context
),
EDX_reg
(
context
)),
CX_reg
(
context
)
);
break
;
case
0x22
:
TRACE
(
"
\t
Convert ASCIIZ string to uppercase
\n
"
);
CharUpperA
(
(
LPSTR
)
CTX_SEG_OFF_TO_LIN
(
context
,
DS_reg
(
context
),
EDX_reg
(
context
))
);
break
;
default:
TRACE
(
"
\t
unimplemented function %d
\n
"
,
AL_reg
(
context
));
INT_BARF
(
context
,
0x21
);
...
...
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