Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- DOS 5.0 Ref. - <b>function 6505h get filename-character table dos 3.3+</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 6505h          Get Filename-Character Table                 DOS 3.3+

    Returns the address of the filename character table for the
    specified code page and country code. The table specifies which
    characters cannot be used in filenames (i.e. terminators).

        Entry   AX    = 6505h
                BX    = Code page ID (0FFFFh = current code page)
                CX    = Size of buffer (min. 5)
                DX    = Country code (0FFFFh = current country)
                ES:DI = Pointer to country info buffer

        Return  Buffer updated
                AX changed
                or
                AX = Error code, if CF is set
                     | 01h Invalid function (CX < 5)
                     | 02h File not found

    ------------------------------------------------------------------

    Format of country info buffer:
        Offset  Size    Description
        00h     1       Info-ID (= 05h)
        01h     4       32-bit address of filename character table

    The filename character table consists of a FileCharTable structure.


    Note
    This function appears to return the same information for all
    countries and codepages; documented for DOS 5.0+.

See Also: 6501h 6601h 6602h CodePageIDs CountryCodes FileCharTable

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson