nlssupt.lst
来自「DOS SOURCE CODE,DOS-C started in 1988 as」· LST 代码 · 共 138 行
LST
138 行
Turbo Assembler Version 3.1 04/11/13 12:54:49 Page 1
nlssupt.ASM
1 ; File:
2 ; nls.asm
3 ; Description:
4 ; Assembly support routines for nls functions.
5 ;
6 ; Copyright (c) 1995
7 ; Pasquale J. Villani
8 ; All Rights Reserved
9 ;
10 ; This file is part of DOS-C.
11 ;
12 ; DOS-C is free software; you can redistribute it and/or
13 ; modify it under the terms of the GNU General Public License
14 ; as published by the Free Software Foundation; either version
15 ; 2, or (at your option) any later version.
16 ;
17 ; DOS-C is distributed in the hope that it will be useful, but
18 ; WITHOUT ANY WARRANTY; without even the implied warranty of
19 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
20 ; the GNU General Public License for more details.
21 ;
22 ; You should have received a copy of the GNU General Public
23 ; License along with DOS-C; see the file COPYING. If not,
24 ; write to the Free Software Foundation, 675 Mass Ave,
25 ; Cambridge, MA 02139, USA.
26 ;
27 ; $Logfile: C:/dos-c/src/kernel/nlssupt.asv $
28 ;
29 ; $Header: C:/dos-c/src/kernel/nlssupt.asv 1.2 16 Jan 1997 12:46:44 patv $
30 ;
31 ; $Log: C:/dos-c/src/kernel/nlssupt.asv $
32 ;
33 ; Rev 1.2 16 Jan 1997 12:46:44 patv
34 ; pre-Release 0.92 feature additions
35 ;
36 ; Rev 1.1 29 May 1996 21:03:38 patv
37 ; bug fixes for v0.91a
38 ;
39 ; Rev 1.0 19 Feb 1996 3:24:04 patv
40 ; Added NLS, int2f and config.sys processing
41 ;
42
43
44 0000 _TEXT segment byte public 'CODE'
45 DGROUP group _DATA,_BSS,_BSSEND ; small model
46 assume cs:_TEXT,ds:DGROUP,ss:DGROUP
47 0000 _TEXT ends
48
49 0000 _DATA segment word public 'DATA'
50 0000 _DATA ends
51
52 0000 _BSS segment word public 'BSS'
53 0000 _BSS ends
54
55 0000 _BSSEND segment byte public 'STACK'
Turbo Assembler Version 3.1 04/11/13 12:54:49 Page 2
nlssupt.ASM
56 0000 _BSSEND ends
57
58
59 0000 _TEXT segment
60 assume cs: _TEXT
61 public _CharMapSrvc
62 extrn _internalUpcase:near
63 ;
64 ; CharMapSrvc:
65 ; User callable character mapping service.
66 ; Part of Function 38h
67 ;
68 0000 _CharMapSrvc proc far
69 0000 1E push ds
70 0001 06 push es
71 0002 55 push bp
72 0003 56 push si
73 0004 57 push di
74 0005 52 push dx
75 0006 51 push cx
76 0007 53 push bx
77
78 0008 BA 0000s mov dx, seg DGROUP
79 000B 8E DA mov ds, dx
80
81 000D 50 push ax
82 000E E8 0000e call _internalUpcase
83 0011 83 C4 02 add sp, 2
84
85 0014 5B pop bx
86 0015 59 pop cx
87 0016 5A pop dx
88 0017 5F pop di
89 0018 5E pop si
90 0019 5D pop bp
91 001A 07 pop es
92 001B 1F pop ds
93 001C CB retf ; Return far
94 001D _CharMapSrvc endp
95
96
97 001D _TEXT ends
98
99 end
Turbo Assembler Version 3.1 04/11/13 12:54:49 Page 3
Symbol Table
Symbol Name Type Value
??DATE Text "04/11/13"
??FILENAME Text "nlssupt "
??TIME Text "12:54:49"
??VERSION Number 030A
@CPU Text 0101H
@CURSEG Text _TEXT
@FILENAME Text NLSSUPT
@WORDSIZE Text 2
STANDALONE Text 1
_CHARMAPSRVC (_CharMapSrvc) Far _TEXT:0000
_INTERNALUPCASE + Near _TEXT:---- Extern
(_internalUpcase)
Groups & Segments Bit Size Align Combine Class
DGROUP Group
_BSS 16 0000 Word Public BSS
_BSSEND 16 0000 Byte Public STACK
_DATA 16 0000 Word Public DATA
_TEXT 16 001D Byte Public CODE
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?