2 ;Equates for COUNTRY INFORMATION.
3 SetCountryInfo EQU 1 ;country info
4 SetUcase EQU 2 ;uppercase table
5 SetLcase EQU 3 ;lowercase table (Reserved)
6 SetUcaseFile EQU 4 ;uppercase file spec table
7 SetFileList EQU 5 ;valid file character list
8 SetCollate EQU 6 ;collating sequence
9 SetDBCS EQU 7 ;double byte character set
10 SetALL EQU -1 ;all the entries
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
17 DOS_country_cdpg_info struc
18 ccInfo_reserved db 8 dup (?) ;reserved for internal use
19 ccPath_CountrySys db 64 dup (0);path and filename for country info
20 ccSysCodePage dw 0 ;system code page id
21 ccNumber_of_entries dw 6 ; 6 entries
22 ccSetUcase db SetUcase
23 ccUcase_ptr dd ? ;pointer to Ucase table
25 ccSetUcaseFile db SetUcaseFile
26 ccFileUcase_ptr dd ? ;pointer to File Ucase table
28 ccSetFileList db SetFileList
29 ccFileChar_ptr dd ? ;pointer to File char list table
31 ccSetCollate db SetCollate
32 ccCollate_ptr dd ? ;pointer to collate table
35 ccDBCS_ptr dd ? ;pointer to DBCS table
37 ccSetCountryInfo db SetCountryInfo
38 ccCountryInfoLen dw ? ;length of country info
39 ccDosCountry dw ? ;active country code id
40 ccDosCodePage dw ? ;active code page id
41 ccDFormat dw ? ;date format
42 ccCurSymbol db " ",0;5 byte of (currency symbol+0)
43 cc1000Sep db " ",0 ;2 byte of (1000 sep. + 0)
44 ccDecSep db " ",0 ;2 byte of (Decimal sep. + 0)
45 ccDateSep db " ",0 ;2 byte of (date sep. + 0)
46 ccTimeSep db " ",0 ;2 byte of (time sep. + 0)
47 ccCFormat db ? ;currency format flags
48 ccCSigDigits db ? ;# of digits in currency
49 ccTFormat db ? ;time format
50 ccMono_Ptr dd ? ;monocase routine entry point
51 ccListSep db " ",0 ;data list separator
52 ccReserved_area dw 5 dup(?);reserved
54 DOS_country_cdpg_info ends
59 ccUcase_data db 128 dup (?)
63 CC_FILE_UCASE_TAB struc
64 ccFileucase_leng dw 128
65 ccFileucase_data db 128 dup (?)
66 CC_FILE_UCASE_TAB ends
69 CC_FILE_CHAR_TAB struc
71 ccFilechar_data db 46 dup (?)
77 ccCollate_data db 256 dup (?)
80 ;DBCS table - for DOS 4.00
83 ccDBCS_data db 6 dup (?)
87 ; Define subfunctions of ECS_call ( 63H ) 2/12/KK
89 GetLeadBTBL EQU 0 ; 2/12/KK
90 SetInterimMode EQU 1 ; 2/12/KK
91 GetInterimMode EQU 2 ; 2/12/KK
93 NonInterimMode EQU 0 ; 2/12/KK
94 InterimMode EQU 1 ; 2/12/KK
96 OLD_COUNTRY_SIZE equ (type DOS_country_cdpg_info - ccDFormat - 10)
97 NEW_COUNTRY_SIZE equ (type DOS_country_cdpg_info - ccDosCountry)
99 ;CAPITALIZATION equates