DOS Fn 6505H: Get Filename Character Table
Expects: AX 6505H
BX Code Page (0ffffH = current code page for console)
CX size of data to return (must be >= 5)
DX Country ID
ES:DI address of buffer to receive the table address
Returns: AX error code if CF is set to CY
ES:DI buffer is filled with 5 bytes of return information
Info: Returns the address of a table of ASCII characters that can be
used in converting international characters into uppercase for
use in filenames.
Upon return ES:DI points to a 5-byte structure. The first byte
is a table identifier (05H) and the next 4 bytes are a 32-bit
address in standard address format (offset, then segment).
At that address is up to 130 bytes of data. The first two bytes
describe the length of the table in bytes. The rest of the data
is a series of bytes, each representing the uppercase equivalent
of a character between 80H and ffH.
The purpose of this table is to map accented or other oddball
characters to their plain ASCII equivalents -- for use in
comparing or sorting filenames.
Notes: ■ In some cases, translation tables provided by DOS are
truncated. Programs should always check the length of the
table before starting to translate text.
See Also: National Language Support