Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 21h Function 65h
 Detail                                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   65h
 
  Title:       Get Extended Country Information [Version 3.3+]
 
  See also:    Get or Set Country Information
 
  Description:
 
     Obtains information about the specified country and/or code page.
 
     Input                                           Output
 
     AH = 65h                                        If function
     AL = Subfunction                                successful
          01h = Get General Internationalization       Carry flag: clear
                Information                          And requested data
          02h = Get Pointer to Uppercase Table       placed in calling
          04h = Get Pointer to Filename Uppercase    program's buffer
                Table
          06h = Get Pointer to Collating Table       If function
          07h = Get Pointer to DBCS Vector           unsuccessful
                [Version 4.0+]                         Carry flag: set
     BX = Code page of interest                        AX = Error code
          (-1 = active CON device)                          (02h)
     CX = Length of buffer to receive information      See: Error codes
     DX = Country ID (-1 = default)
     ES:DI = Address of buffer to
             receive information
                                    -♦-