]>
wirehaze git hosting - MS-DOS.git/blob - v4.0/src/MAPPER/CASEMAP.ASM
5 title CP
/DOS DosCaseMap
7 dosxxx
segment byte public 'dos'
8 assume
cs:dosxxx
,ds:nothing
,es:nothing
,ss:nothing
10 ;**********************************************************************
18 ;* PUSH@ DWORD CountryCode
19 ;* PUSH@ DWORD BinaryString
22 ;* MODULES CALLED: none
24 ;*********************************************************************
33 StringPtr dd ?
; binary string pointer
34 CountryCodePtr dd ?
; country code pointer
35 StringLength dw ?
; lenght of the string
40 Enter DosCaseMap
; save registers
42 ; Get the country, so we can then get the country case map stuff
44 lds si,[bp].CountryCodePtr
47 ; Note: do the country selection later (maybe never)
50 mov cx,[bp].StringLength
52 MapLoop: ; convert characters to upper case
64 loop MapLoop
; loop until string is complete
67 ret size
str - 6 ; return