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 6502h get uppercase table dos 3.3+</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 6502h          Get Uppercase Table                          DOS 3.3+

    Returns the address of the uppercase table for the specified code
    page and country code. The table maps extended ASCII characters
    (ASCII value > 128) to their uppercase equivalents.

        Entry   AX    = 6502h
                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
                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 (= 02h)
        01h     4       32-bit address of uppercase table

    The uppercase table starts with a 16-bit value that specifies the
    length of the table; the remainder of the table specifies the
    uppercase equivalents of the ASCII characters from 80h to 0FFh.

See Also: 6501h 6601h 6602h CodePageIDs CountryCodes

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