summaryrefslogtreecommitdiff
path: root/v4.0/src/INC/DOSCNTRY.INC
diff options
context:
space:
mode:
Diffstat (limited to 'v4.0/src/INC/DOSCNTRY.INC')
-rw-r--r--v4.0/src/INC/DOSCNTRY.INC114
1 files changed, 114 insertions, 0 deletions
diff --git a/v4.0/src/INC/DOSCNTRY.INC b/v4.0/src/INC/DOSCNTRY.INC
new file mode 100644
index 0000000..6594e96
--- /dev/null
+++ b/v4.0/src/INC/DOSCNTRY.INC
@@ -0,0 +1,114 @@
1;
2;Equates for COUNTRY INFORMATION.
3SetCountryInfo EQU 1 ;country info
4SetUcase EQU 2 ;uppercase table
5SetLcase EQU 3 ;lowercase table (Reserved)
6SetUcaseFile EQU 4 ;uppercase file spec table
7SetFileList EQU 5 ;valid file character list
8SetCollate EQU 6 ;collating sequence
9SetDBCS EQU 7 ;double byte character set
10SetALL EQU -1 ;all the entries
11
12
13;DOS country and code page information table structure.
14;Internally, DOS gives a pointer to this table.
15;IBMBIO, MODE and NLSFUNC modules communicate with DOS through
16;this structure.
17DOS_country_cdpg_info struc
18ccInfo_reserved db 8 dup (?) ;reserved for internal use
19ccPath_CountrySys db 64 dup (0);path and filename for country info
20ccSysCodePage dw 0 ;system code page id
21ccNumber_of_entries dw 6 ; 6 entries
22ccSetUcase db SetUcase
23ccUcase_ptr dd ? ;pointer to Ucase table
24
25ccSetUcaseFile db SetUcaseFile
26ccFileUcase_ptr dd ? ;pointer to File Ucase table
27
28ccSetFileList db SetFileList
29ccFileChar_ptr dd ? ;pointer to File char list table
30
31ccSetCollate db SetCollate
32ccCollate_ptr dd ? ;pointer to collate table
33
34ccSetDBCS db SetDBCS
35ccDBCS_ptr dd ? ;pointer to DBCS table
36
37ccSetCountryInfo db SetCountryInfo
38ccCountryInfoLen dw ? ;length of country info
39ccDosCountry dw ? ;active country code id
40ccDosCodePage dw ? ;active code page id
41ccDFormat dw ? ;date format
42ccCurSymbol db " ",0;5 byte of (currency symbol+0)
43cc1000Sep db " ",0 ;2 byte of (1000 sep. + 0)
44ccDecSep db " ",0 ;2 byte of (Decimal sep. + 0)
45ccDateSep db " ",0 ;2 byte of (date sep. + 0)
46ccTimeSep db " ",0 ;2 byte of (time sep. + 0)
47ccCFormat db ? ;currency format flags
48ccCSigDigits db ? ;# of digits in currency
49ccTFormat db ? ;time format
50ccMono_Ptr dd ? ;monocase routine entry point
51ccListSep db " ",0 ;data list separator
52ccReserved_area dw 5 dup(?);reserved
53
54DOS_country_cdpg_info ends
55
56;Ucase table
57CC_UCASE_TAB struc
58ccUcase_leng dw 128
59ccUcase_data db 128 dup (?)
60CC_UCASE_TAB ends
61
62;File Ucase table
63CC_FILE_UCASE_TAB struc
64ccFileucase_leng dw 128
65ccFileucase_data db 128 dup (?)
66CC_FILE_UCASE_TAB ends
67
68;File char list
69CC_FILE_CHAR_TAB struc
70ccFilechar_leng dw ?
71ccFilechar_data db 46 dup (?)
72CC_FILE_CHAR_TAB ends
73
74;collate table
75CC_COLLATE_TAB struc
76ccCollate_leng dw 256
77ccCollate_data db 256 dup (?)
78CC_COLLATE_TAB ends
79
80;DBCS table - for DOS 4.00
81CC_DBCS_TAB struc
82ccDBCS_leng dw 6
83ccDBCS_data db 6 dup (?)
84CC_DBCS_TAB ends
85
86; 2/12/KK
87; Define subfunctions of ECS_call ( 63H ) 2/12/KK
88; 2/12/KK
89GetLeadBTBL EQU 0 ; 2/12/KK
90SetInterimMode EQU 1 ; 2/12/KK
91GetInterimMode EQU 2 ; 2/12/KK
92 ; 2/12/KK
93NonInterimMode EQU 0 ; 2/12/KK
94InterimMode EQU 1 ; 2/12/KK
95
96OLD_COUNTRY_SIZE equ (type DOS_country_cdpg_info - ccDFormat - 10)
97NEW_COUNTRY_SIZE equ (type DOS_country_cdpg_info - ccDosCountry)
98
99;CAPITALIZATION equates
100CAP_ONE_CHAR equ 20H
101CAP_STRING equ 21H
102CAP_ASCIIZ equ 22H
103CHECK_YES_NO equ 23H
104UPPER_TABLE equ 80H
105
106;NLS_YES equ 59H
107;NLS_yes2 equ 79H
108;NLS_NO equ 4EH
109;NLS_no2 equ 6EH
110
111
112
113
114