Add new nls patch

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@56 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Jim Tabor 2000-08-06 04:14:05 +00:00
parent b6355f4e8b
commit c0df6767f2
7 changed files with 498 additions and 0 deletions

109
kernel/nls/001-437.hc Normal file
View File

@ -0,0 +1,109 @@
; Hardcoded DOS-NLS information for country = 1, codepage = 437
; This is an automatically generated file!
; Any modifications will be lost!
; Prerequisites:
;; ==> Assuming that data of tables remains constant all the time
;; ==> Reordering tables 1, 2, 4 and 5
%include "segs.inc"
segment _DATA
GLOBAL _nlsPackageHardcoded
_nlsPackageHardcoded:
DB 000h, 000h, 000h, 000h, 001h, 000h, 0b5h, 001h
DB 00fh, 000h, 059h, 04eh, 006h, 000h
DB 002h
DW ?table2, SEG ?table2
DB 004h
DW ?table4, SEG ?table4
DB 005h
DW ?table5, SEG ?table5
DB 006h
DW ?table6, SEG ?table6
DB 007h
DW ?table7, SEG ?table7
GLOBAL _nlsCountryInfoHardcoded
_nlsCountryInfoHardcoded:
DB 001h
?table1:
DB 01ch, 000h, 001h, 000h, 0b5h, 001h, 000h, 000h
DB 024h, 000h, 000h, 000h, 000h, 02ch, 000h, 02eh
DB 000h, 02dh, 000h, 03ah, 000h, 000h, 002h, 000h
DB 0e8h, 058h, 000h, 000h, 02ch, 000h
GLOBAL _hcTablesStart
_hcTablesStart:
GLOBAL _nlsFUpcaseHardcoded
_nlsFUpcaseHardcoded:
?table4:
GLOBAL _nlsUpcaseHardcoded
_nlsUpcaseHardcoded:
?table2:
DB 080h, 000h, 080h, 09ah, 045h, 041h, 08eh, 041h
DB 08fh, 080h, 045h, 045h, 045h, 049h, 049h, 049h
DB 08eh, 08fh, 090h, 092h, 092h, 04fh, 099h, 04fh
DB 055h, 055h, 059h, 099h, 09ah, 09bh, 09ch, 09dh
DB 09eh, 09fh, 041h, 049h, 04fh, 055h, 0a5h, 0a5h
DB 0a6h, 0a7h, 0a8h, 0a9h, 0aah, 0abh, 0ach, 0adh
DB 0aeh, 0afh, 0b0h, 0b1h, 0b2h, 0b3h, 0b4h, 0b5h
DB 0b6h, 0b7h, 0b8h, 0b9h, 0bah, 0bbh, 0bch, 0bdh
DB 0beh, 0bfh, 0c0h, 0c1h, 0c2h, 0c3h, 0c4h, 0c5h
DB 0c6h, 0c7h, 0c8h, 0c9h, 0cah, 0cbh, 0cch, 0cdh
DB 0ceh, 0cfh, 0d0h, 0d1h, 0d2h, 0d3h, 0d4h, 0d5h
DB 0d6h, 0d7h, 0d8h, 0d9h, 0dah, 0dbh, 0dch, 0ddh
DB 0deh, 0dfh, 0e0h, 0e1h, 0e2h, 0e3h, 0e4h, 0e5h
DB 0e6h, 0e7h, 0e8h, 0e9h, 0eah, 0ebh, 0ech, 0edh
DB 0eeh, 0efh, 0f0h, 0f1h, 0f2h, 0f3h, 0f4h, 0f5h
DB 0f6h, 0f7h, 0f8h, 0f9h, 0fah, 0fbh, 0fch, 0fdh
DB 0feh, 0ffh
GLOBAL _nlsFnameTermHardcoded
_nlsFnameTermHardcoded:
?table5:
DB 016h, 000h, 08eh, 000h, 0ffh, 041h, 000h, 020h
DB 0eeh, 00eh, 02eh, 022h, 02fh, 05ch, 05bh, 05dh
DB 03ah, 07ch, 03ch, 03eh, 02bh, 03dh, 03bh, 02ch
GLOBAL _nlsCollHardcoded
_nlsCollHardcoded:
?table6:
DB 000h, 001h, 000h, 001h, 002h, 003h, 004h, 005h
DB 006h, 007h, 008h, 009h, 00ah, 00bh, 00ch, 00dh
DB 00eh, 00fh, 010h, 011h, 012h, 013h, 014h, 015h
DB 016h, 017h, 018h, 019h, 01ah, 01bh, 01ch, 01dh
DB 01eh, 01fh, 020h, 021h, 022h, 023h, 024h, 025h
DB 026h, 027h, 028h, 029h, 02ah, 02bh, 02ch, 02dh
DB 02eh, 02fh, 030h, 031h, 032h, 033h, 034h, 035h
DB 036h, 037h, 038h, 039h, 03ah, 03bh, 03ch, 03dh
DB 03eh, 03fh, 040h, 041h, 042h, 043h, 044h, 045h
DB 046h, 047h, 048h, 049h, 04ah, 04bh, 04ch, 04dh
DB 04eh, 04fh, 050h, 051h, 052h, 053h, 054h, 055h
DB 056h, 057h, 058h, 059h, 05ah, 05bh, 05ch, 05dh
DB 05eh, 05fh, 060h, 041h, 042h, 043h, 044h, 045h
DB 046h, 047h, 048h, 049h, 04ah, 04bh, 04ch, 04dh
DB 04eh, 04fh, 050h, 051h, 052h, 053h, 054h, 055h
DB 056h, 057h, 058h, 059h, 05ah, 07bh, 07ch, 07dh
DB 07eh, 07fh, 043h, 055h, 045h, 041h, 041h, 041h
DB 041h, 043h, 045h, 045h, 045h, 049h, 049h, 049h
DB 041h, 041h, 045h, 041h, 041h, 04fh, 04fh, 04fh
DB 055h, 055h, 059h, 04fh, 055h, 024h, 024h, 024h
DB 024h, 024h, 041h, 049h, 04fh, 055h, 04eh, 04eh
DB 0a6h, 0a7h, 03fh, 0a9h, 0aah, 0abh, 0ach, 021h
DB 022h, 022h, 0b0h, 0b1h, 0b2h, 0b3h, 0b4h, 0b5h
DB 0b6h, 0b7h, 0b8h, 0b9h, 0bah, 0bbh, 0bch, 0bdh
DB 0beh, 0bfh, 0c0h, 0c1h, 0c2h, 0c3h, 0c4h, 0c5h
DB 0c6h, 0c7h, 0c8h, 0c9h, 0cah, 0cbh, 0cch, 0cdh
DB 0ceh, 0cfh, 0d0h, 0d1h, 0d2h, 0d3h, 0d4h, 0d5h
DB 0d6h, 0d7h, 0d8h, 0d9h, 0dah, 0dbh, 0dch, 0ddh
DB 0deh, 0dfh, 0e0h, 053h, 0e2h, 0e3h, 0e4h, 0e5h
DB 0e6h, 0e7h, 0e8h, 0e9h, 0eah, 0ebh, 0ech, 0edh
DB 0eeh, 0efh, 0f0h, 0f1h, 0f2h, 0f3h, 0f4h, 0f5h
DB 0f6h, 0f7h, 0f8h, 0f9h, 0fah, 0fbh, 0fch, 0fdh
DB 0feh, 0ffh
GLOBAL _nlsDBCSHardcoded
_nlsDBCSHardcoded:
?table7:
DB 000h, 000h, 000h, 000h
GLOBAL _hcTablesEnd
_hcTablesEnd:
END

130
kernel/nls/001-437.unf Normal file
View File

@ -0,0 +1,130 @@
## Universal NLS data Format file: 001-437.unf
$country 1
$codepage 437
# Global options
$radix 10
[table 1] # Extended Country Information DOS-65-01 / DOS-38
$make_size
= W1 W437 # Country ID & Codepage
= W0 # Date format: 0/1/2: U.S.A./Europe/Japan
= 36 0 0 0 0 # $.... # Currency string
= 44 0 # ,. # Thousand's separator
= 46 0 # .. # Decimal point
= 45 0 # -. # Date separator
= 58 0 # :. # Time separator
= 0 # Currency format (bit array)
= 2 # Currency precision
= 0 # time format: 0/1: 12/24 houres
$go_forward 4 # Far address of upcase function (to be calc at runtime)
= 44 0 # ,. # Data separator
[table 2] # normal character uppercase table
$make_size
= 128 154 69 65 142 65 143 128 # <20>鍃A垾<41> @ 0
= 69 69 69 73 73 73 142 143 # EEEIII<49> @ 8
= 144 146 146 79 153 79 85 85 # <20>𦼦両UU @ 16
= 89 153 154 155 156 157 158 159 # Y<><59><EFBFBD><EFBFBD> @ 24
= 65 73 79 85 165 165 166 167 # AIOU孕戍 @ 32
= 168 169 170 171 172 173 174 175 # 貝物洎悖 @ 40
= 176 177 178 179 180 181 182 183 # 停眾斯須 @ 48
= 184 185 186 187 188 189 190 191 # 號獄播噶 @ 56
= 192 193 194 195 196 197 198 199 # 擱藏霰匸 @ 64
= 200 201 202 203 204 205 206 207 # <20>帊昅恘 @ 72
= 208 209 210 211 212 213 214 215 # 倳眑婭笫 @ 80
= 216 217 218 219 220 221 222 223 # 崷窙嗲睧 @ 88
= 224 225 226 227 228 229 230 231 # 颬睼麧緗 @ 96
= 232 233 234 235 236 237 238 239 # 鴇膹擨闀 @ 104
= 240 241 242 243 244 245 246 247 # 貘覷鏷禴 @ 112
= 248 249 250 251 252 253 254 255 # 矙𡜍𦶠<F0A19C8D> @ 120
$is_offset 128
[table 4] # filename character uppercase table
$make_size
= 128 154 69 65 142 65 143 128 # <20>鍃A垾<41> @ 0
= 69 69 69 73 73 73 142 143 # EEEIII<49> @ 8
= 144 146 146 79 153 79 85 85 # <20>𦼦両UU @ 16
= 89 153 154 155 156 157 158 159 # Y<><59><EFBFBD><EFBFBD> @ 24
= 65 73 79 85 165 165 166 167 # AIOU孕戍 @ 32
= 168 169 170 171 172 173 174 175 # 貝物洎悖 @ 40
= 176 177 178 179 180 181 182 183 # 停眾斯須 @ 48
= 184 185 186 187 188 189 190 191 # 號獄播噶 @ 56
= 192 193 194 195 196 197 198 199 # 擱藏霰匸 @ 64
= 200 201 202 203 204 205 206 207 # <20>帊昅恘 @ 72
= 208 209 210 211 212 213 214 215 # 倳眑婭笫 @ 80
= 216 217 218 219 220 221 222 223 # 崷窙嗲睧 @ 88
= 224 225 226 227 228 229 230 231 # 颬睼麧緗 @ 96
= 232 233 234 235 236 237 238 239 # 鴇膹擨闀 @ 104
= 240 241 242 243 244 245 246 247 # 貘覷鏷禴 @ 112
= 248 249 250 251 252 253 254 255 # 矙𡜍𦶠<F0A19C8D> @ 120
$is_offset 128
[table 5] # Filename Termination Characters
$make_size
$go_forward 1 # skip one dummy byte
= 0 255 # Permittable characters
$go_forward 1 # skip one dummy byte
= 0 32 # Excluded characters (from above range)
$go_forward 1 # skip one dummy byte
= 14 # Number of enumerated excluded characters
= 46 34 47 92 91 93 58 124 # ."/\[]:| @ 0
= 60 62 43 61 59 44 # <>+=;, @ 8
$is_offset 22
[table 6] # collating sequence table
$make_size
= 0 1 2 3 4 5 6 7 # ........ @ 0
= 8 9 10 11 12 13 14 15 # ........ @ 8
= 16 17 18 19 20 21 22 23 # ........ @ 16
= 24 25 26 27 28 29 30 31 # ........ @ 24
= 32 33 34 35 36 37 38 39 # !"#$%&' @ 32
= 40 41 42 43 44 45 46 47 # ()*+,-./ @ 40
= 48 49 50 51 52 53 54 55 # 01234567 @ 48
= 56 57 58 59 60 61 62 63 # 89:;<=>? @ 56
= 64 65 66 67 68 69 70 71 # @ABCDEFG @ 64
= 72 73 74 75 76 77 78 79 # HIJKLMNO @ 72
= 80 81 82 83 84 85 86 87 # PQRSTUVW @ 80
= 88 89 90 91 92 93 94 95 # XYZ[\]^_ @ 88
= 96 65 66 67 68 69 70 71 # `ABCDEFG @ 96
= 72 73 74 75 76 77 78 79 # HIJKLMNO @ 104
= 80 81 82 83 84 85 86 87 # PQRSTUVW @ 112
= 88 89 90 123 124 125 126 127 # XYZ{|}~. @ 120
= 67 85 69 65 65 65 65 67 # CUEAAAAC @ 128
= 69 69 69 73 73 73 65 65 # EEEIIIAA @ 136
= 69 65 65 79 79 79 85 85 # EAAOOOUU @ 144
= 89 79 85 36 36 36 36 36 # YOU$$$$$ @ 152
= 65 73 79 85 78 78 166 167 # AIOUNN戍 @ 160
= 63 169 170 171 172 33 34 34 # ?帚型!"" @ 168
= 176 177 178 179 180 181 182 183 # 停眾斯須 @ 176
= 184 185 186 187 188 189 190 191 # 號獄播噶 @ 184
= 192 193 194 195 196 197 198 199 # 擱藏霰匸 @ 192
= 200 201 202 203 204 205 206 207 # <20>帊昅恘 @ 200
= 208 209 210 211 212 213 214 215 # 倳眑婭笫 @ 208
= 216 217 218 219 220 221 222 223 # 崷窙嗲睧 @ 216
= 224 83 226 227 228 229 230 231 # 豋睼麧緗 @ 224
= 232 233 234 235 236 237 238 239 # 鴇膹擨闀 @ 232
= 240 241 242 243 244 245 246 247 # 貘覷鏷禴 @ 240
= 248 249 250 251 252 253 254 255 # 矙𡜍𦶠<F0A19C8D> @ 248
$is_offset 256
[table 7] # Double Byte Character Support (DBCS)
$make_size
$stop_size
= W0 # DBCS end marker (mandotary)
[table 35] # Extended Country Information DOS-65-23
= 89 78 # YN # Yes & No character

BIN
kernel/nls/001-437.up Normal file

Binary file not shown.

109
kernel/nls/049-850.hc Normal file
View File

@ -0,0 +1,109 @@
; Hardcoded DOS-NLS information for country = 49, codepage = 850
; This is an automatically generated file!
; Any modifications will be lost!
; Prerequisites:
;; ==> Assuming that data of tables remains constant all the time
;; ==> Reordering tables 1, 2, 4 and 5
%include "segs.inc"
segment _DATA
GLOBAL _nlsPackageHardcoded
_nlsPackageHardcoded:
DB 000h, 000h, 000h, 000h, 031h, 000h, 052h, 003h
DB 00fh, 000h, 04ah, 04eh, 006h, 000h
DB 002h
DW ?table2, SEG ?table2
DB 004h
DW ?table4, SEG ?table4
DB 005h
DW ?table5, SEG ?table5
DB 006h
DW ?table6, SEG ?table6
DB 007h
DW ?table7, SEG ?table7
GLOBAL _nlsCountryInfoHardcoded
_nlsCountryInfoHardcoded:
DB 001h
?table1:
DB 01ch, 000h, 031h, 000h, 052h, 003h, 001h, 000h
DB 044h, 04dh, 000h, 000h, 000h, 02eh, 000h, 02ch
DB 000h, 02eh, 000h, 03ah, 000h, 003h, 002h, 001h
DB 0e8h, 058h, 000h, 003h, 03bh, 000h
GLOBAL _hcTablesStart
_hcTablesStart:
GLOBAL _nlsFUpcaseHardcoded
_nlsFUpcaseHardcoded:
?table4:
GLOBAL _nlsUpcaseHardcoded
_nlsUpcaseHardcoded:
?table2:
DB 080h, 000h, 080h, 09ah, 090h, 0b6h, 08eh, 0b7h
DB 08fh, 080h, 0d2h, 0d3h, 0d4h, 0d8h, 0d7h, 0deh
DB 08eh, 08fh, 090h, 092h, 092h, 0e2h, 099h, 0e3h
DB 0eah, 0ebh, 05fh, 099h, 09ah, 09dh, 09ch, 09dh
DB 09eh, 09fh, 0b5h, 0d6h, 0e0h, 0e9h, 0a5h, 0a5h
DB 0a6h, 0a7h, 0a8h, 0a9h, 0aah, 0abh, 0ach, 0adh
DB 0aeh, 0afh, 0b0h, 0b1h, 0b2h, 0b3h, 0b4h, 0b5h
DB 0b6h, 0b7h, 0b8h, 0b9h, 0bah, 0bbh, 0bch, 0bdh
DB 0beh, 0bfh, 0c0h, 0c1h, 0c2h, 0c3h, 0c4h, 0c5h
DB 0c7h, 0c7h, 0c8h, 0c9h, 0cah, 0cbh, 0cch, 0cdh
DB 0ceh, 0cfh, 0d1h, 0d1h, 0d2h, 0d3h, 0d4h, 049h
DB 0d6h, 0d7h, 0d8h, 0d9h, 0dah, 0dbh, 0dch, 0ddh
DB 0deh, 0dfh, 0e0h, 0e1h, 0e2h, 0e3h, 0e5h, 0e5h
DB 0e6h, 0e8h, 0e8h, 0e9h, 0eah, 0ebh, 0edh, 0edh
DB 0eeh, 0efh, 0f0h, 0f1h, 0f2h, 0f3h, 0f4h, 0f5h
DB 0f6h, 0f7h, 0f8h, 0f9h, 0fah, 0fbh, 0fch, 0fdh
DB 0feh, 0ffh
GLOBAL _nlsFnameTermHardcoded
_nlsFnameTermHardcoded:
?table5:
DB 016h, 000h, 08eh, 000h, 0ffh, 0b6h, 000h, 020h
DB 0eeh, 00eh, 02eh, 022h, 02fh, 05ch, 05bh, 05dh
DB 03ah, 07ch, 03ch, 03eh, 02bh, 03dh, 03bh, 02ch
GLOBAL _nlsCollHardcoded
_nlsCollHardcoded:
?table6:
DB 000h, 001h, 000h, 001h, 002h, 003h, 004h, 005h
DB 006h, 007h, 008h, 009h, 00ah, 00bh, 00ch, 00dh
DB 00eh, 00fh, 010h, 011h, 012h, 013h, 014h, 015h
DB 016h, 017h, 018h, 019h, 01ah, 01bh, 01ch, 01dh
DB 01eh, 01fh, 020h, 021h, 022h, 023h, 024h, 025h
DB 026h, 027h, 028h, 029h, 02ah, 02bh, 02ch, 02dh
DB 02eh, 02fh, 030h, 031h, 032h, 033h, 034h, 035h
DB 036h, 037h, 038h, 039h, 03ah, 03bh, 03ch, 03dh
DB 03eh, 03fh, 040h, 041h, 042h, 043h, 044h, 045h
DB 046h, 047h, 048h, 049h, 04ah, 04bh, 04ch, 04dh
DB 04eh, 04fh, 050h, 051h, 052h, 053h, 054h, 055h
DB 056h, 057h, 058h, 059h, 05ah, 05bh, 05ch, 05dh
DB 05eh, 05fh, 060h, 041h, 042h, 043h, 044h, 045h
DB 046h, 047h, 048h, 049h, 04ah, 04bh, 04ch, 04dh
DB 04eh, 04fh, 050h, 051h, 052h, 053h, 054h, 055h
DB 056h, 057h, 058h, 059h, 05ah, 07bh, 07ch, 07dh
DB 07eh, 07fh, 043h, 055h, 045h, 041h, 041h, 041h
DB 041h, 043h, 045h, 045h, 045h, 049h, 049h, 049h
DB 041h, 041h, 045h, 041h, 041h, 04fh, 04fh, 04fh
DB 055h, 055h, 059h, 04fh, 055h, 04fh, 024h, 04fh
DB 09eh, 024h, 041h, 049h, 04fh, 055h, 04eh, 04eh
DB 0a6h, 0a7h, 03fh, 0a9h, 0aah, 0abh, 0ach, 021h
DB 022h, 022h, 0b0h, 0b1h, 0b2h, 0b3h, 0b4h, 041h
DB 041h, 041h, 0b8h, 0b9h, 0bah, 0bbh, 0bch, 024h
DB 024h, 0bfh, 0c0h, 0c1h, 0c2h, 0c3h, 0c4h, 0c5h
DB 041h, 041h, 0c8h, 0c9h, 0cah, 0cbh, 0cch, 0cdh
DB 0ceh, 024h, 044h, 044h, 045h, 045h, 045h, 049h
DB 049h, 049h, 049h, 0d9h, 0dah, 0dbh, 0dch, 0ddh
DB 049h, 0dfh, 04fh, 053h, 04fh, 04fh, 04fh, 04fh
DB 0e6h, 0e8h, 0e8h, 055h, 055h, 055h, 059h, 059h
DB 0eeh, 0efh, 0f0h, 0f1h, 0f2h, 0f3h, 0f4h, 0f5h
DB 0f6h, 0f7h, 0f8h, 0f9h, 0fah, 0fbh, 0fch, 0fdh
DB 0feh, 0ffh
GLOBAL _nlsDBCSHardcoded
_nlsDBCSHardcoded:
?table7:
DB 000h, 000h, 000h, 000h
GLOBAL _hcTablesEnd
_hcTablesEnd:
END

130
kernel/nls/049-850.unf Normal file
View File

@ -0,0 +1,130 @@
## Universal NLS data Format file: 049-850.unf
$country 49
$codepage 850
# Global options
$radix 10
[table 1] # Extended Country Information DOS-65-01 / DOS-38
$make_size
= W49 W850 # Country ID & Codepage
= W1 # Date format: 0/1/2: U.S.A./Europe/Japan
= 68 77 0 0 0 # DM... # Currency string
= 46 0 # .. # Thousand's separator
= 44 0 # ,. # Decimal point
= 46 0 # .. # Date separator
= 58 0 # :. # Time separator
= 3 # Currency format (bit array)
= 2 # Currency precision
= 1 # time format: 0/1: 12/24 houres
$go_forward 4 # Far address of upcase function (to be calc at runtime)
= 59 0 # ;. # Data separator
[table 2] # normal character uppercase table
$make_size
= 128 154 144 182 142 183 143 128 # €š<E282AC>¶Ž·<C5BD>€ @ 0
= 210 211 212 216 215 222 142 143 # ÒÓÔØ×ÞŽ<C39E> @ 8
= 144 146 146 226 153 227 234 235 # <20>â™ãêë @ 16
= 95 153 154 157 156 157 158 159 # _™š<E284A2>œ<EFBFBD>žŸ @ 24
= 181 214 224 233 165 165 166 167 # µÖà饥¦§ @ 32
= 168 169 170 171 172 173 174 175 # ¨©ª«¬­®¯ @ 40
= 176 177 178 179 180 181 182 183 # °±²³´µ¶· @ 48
= 184 185 186 187 188 189 190 191 # ¸¹º»¼½¾¿ @ 56
= 192 193 194 195 196 197 199 199 # ÀÁÂÃÄÅÇÇ @ 64
= 200 201 202 203 204 205 206 207 # ÈÉÊËÌÍÎÏ @ 72
= 209 209 210 211 212 73 214 215 # ÑÑÒÓÔIÖ× @ 80
= 216 217 218 219 220 221 222 223 # ØÙÚÛÜÝÞß @ 88
= 224 225 226 227 229 229 230 232 # àáâãååæè @ 96
= 232 233 234 235 237 237 238 239 # èéêëííîï @ 104
= 240 241 242 243 244 245 246 247 # ðñòóôõö÷ @ 112
= 248 249 250 251 252 253 254 255 # øùúûüýþÿ @ 120
$is_offset 128
[table 4] # filename character uppercase table
$make_size
= 128 154 144 182 142 183 143 128 # €š<E282AC>¶Ž·<C5BD>€ @ 0
= 210 211 212 216 215 222 142 143 # ÒÓÔØ×ÞŽ<C39E> @ 8
= 144 146 146 226 153 227 234 235 # <20>â™ãêë @ 16
= 95 153 154 157 156 157 158 159 # _™š<E284A2>œ<EFBFBD>žŸ @ 24
= 181 214 224 233 165 165 166 167 # µÖà饥¦§ @ 32
= 168 169 170 171 172 173 174 175 # ¨©ª«¬­®¯ @ 40
= 176 177 178 179 180 181 182 183 # °±²³´µ¶· @ 48
= 184 185 186 187 188 189 190 191 # ¸¹º»¼½¾¿ @ 56
= 192 193 194 195 196 197 199 199 # ÀÁÂÃÄÅÇÇ @ 64
= 200 201 202 203 204 205 206 207 # ÈÉÊËÌÍÎÏ @ 72
= 209 209 210 211 212 73 214 215 # ÑÑÒÓÔIÖ× @ 80
= 216 217 218 219 220 221 222 223 # ØÙÚÛÜÝÞß @ 88
= 224 225 226 227 229 229 230 232 # àáâãååæè @ 96
= 232 233 234 235 237 237 238 239 # èéêëííîï @ 104
= 240 241 242 243 244 245 246 247 # ðñòóôõö÷ @ 112
= 248 249 250 251 252 253 254 255 # øùúûüýþÿ @ 120
$is_offset 128
[table 5] # Filename Termination Characters
$make_size
$go_forward 1 # skip one dummy byte
= 0 255 # Permittable characters
$go_forward 1 # skip one dummy byte
= 0 32 # Excluded characters (from above range)
$go_forward 1 # skip one dummy byte
= 14 # Number of enumerated excluded characters
= 46 34 47 92 91 93 58 124 # ."/\[]:| @ 0
= 60 62 43 61 59 44 # <>+=;, @ 8
$is_offset 22
[table 6] # collating sequence table
$make_size
= 0 1 2 3 4 5 6 7 # ........ @ 0
= 8 9 10 11 12 13 14 15 # ........ @ 8
= 16 17 18 19 20 21 22 23 # ........ @ 16
= 24 25 26 27 28 29 30 31 # ........ @ 24
= 32 33 34 35 36 37 38 39 # !"#$%&' @ 32
= 40 41 42 43 44 45 46 47 # ()*+,-./ @ 40
= 48 49 50 51 52 53 54 55 # 01234567 @ 48
= 56 57 58 59 60 61 62 63 # 89:;<=>? @ 56
= 64 65 66 67 68 69 70 71 # @ABCDEFG @ 64
= 72 73 74 75 76 77 78 79 # HIJKLMNO @ 72
= 80 81 82 83 84 85 86 87 # PQRSTUVW @ 80
= 88 89 90 91 92 93 94 95 # XYZ[\]^_ @ 88
= 96 65 66 67 68 69 70 71 # `ABCDEFG @ 96
= 72 73 74 75 76 77 78 79 # HIJKLMNO @ 104
= 80 81 82 83 84 85 86 87 # PQRSTUVW @ 112
= 88 89 90 123 124 125 126 127 # XYZ{|}~. @ 120
= 67 85 69 65 65 65 65 67 # CUEAAAAC @ 128
= 69 69 69 73 73 73 65 65 # EEEIIIAA @ 136
= 69 65 65 79 79 79 85 85 # EAAOOOUU @ 144
= 89 79 85 79 36 79 158 36 # YOUO$Ož$ @ 152
= 65 73 79 85 78 78 166 167 # AIOUNN¦§ @ 160
= 63 169 170 171 172 33 34 34 # ?©ª«¬!"" @ 168
= 176 177 178 179 180 65 65 65 # °±²³´AAA @ 176
= 184 185 186 187 188 36 36 191 # ¸¹º»¼$$¿ @ 184
= 192 193 194 195 196 197 65 65 # ÀÁÂÃÄÅAA @ 192
= 200 201 202 203 204 205 206 36 # ÈÉÊËÌÍÎ$ @ 200
= 68 68 69 69 69 73 73 73 # DDEEEIII @ 208
= 73 217 218 219 220 221 73 223 # IÙÚÛÜÝIß @ 216
= 79 83 79 79 79 79 230 232 # OSOOOOæè @ 224
= 232 85 85 85 89 89 238 239 # èUUUYYîï @ 232
= 240 241 242 243 244 245 246 247 # ðñòóôõö÷ @ 240
= 248 249 250 251 252 253 254 255 # øùúûüýþÿ @ 248
$is_offset 256
[table 7] # Double Byte Character Support (DBCS)
$make_size
$stop_size
= W0 # DBCS end marker (mandotary)
[table 35] # Extended Country Information DOS-65-23
= 74 78 # JN # Yes & No character

BIN
kernel/nls/049-850.up Normal file

Binary file not shown.

20
kernel/nls/files Normal file
View File

@ -0,0 +1,20 @@
NLS files
Filenames are encoded as:
CCC-PPP
CCC: country code
PPP: codepage ID
both are zero-padded three digits numbers; one number may
use four digits.
Extensions:
UNF: Uniform NLS file Format
plain text representation of NLS package (7bit US-ASCII)
may be used to validate GRAB_UNF output
see UNF toolset for more information
UP : NLSUPTST data file
used to validate DOS API normal character upcase functions DOS-65-2[0-2]
HC : Hardcoded NLS file to be included into the kernel
produced by UNF2HC
copy to ..\NLS_HC.ASM in order to use this NLS package as the hardcoded one
kernel must be re-compiled