blob: 2c313b2828ea8fd3119c9db550d8fcb235e51e4b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
; SCCSID = @(#)d_gctrcd.asm 1.1 86/06/03
.xlist
; include struc.inc
include nlsapi.inc
.list
DGROUP group _DATA
_TEXT segment word public 'CODE'
_TEXT ends
_DATA segment word public 'DATA'
EXTRN _ApiSel:WORD
_DATA ends
_TEXT segment
EXTRN W_NLS_APIS:near
public DOSGETCTRYINFO
DOSGETCTRYINFO proc far
assume cs:_TEXT
mov AX,BP ; Add 4 bytes of dummy parameters to the
mov BP,SP ; Stack by copying the return address down 4
push [BP+2]
push [BP]
mov BP,AX
push DS
mov AX,_DATA
mov DS,AX
mov AX, SETFILELIST
mov DS:_ApiSel,AX
pop DS
jmp W_NLS_APIS
; pop bp
; ret 14
DOSGETCTRYINFO endp
_TEXT ENDS
END
|