Function 38h Get/Set Country Information
Returns country-dependent information or sets the country code.
This description is valid for DOS 3.0+
1. Get information for the current country or a specified country:
Entry AH = 38h
AL = Country code (00h = current country)
BX = 16-bit country code (if AL=FFh)
DS:DX = Pointer to CountryInfo structure
Return BX = Country code
CountryInfo filled
or
AX = Error code, if CF is set
| 01h Invalid function
| 02h File not found
To get country-dependent information for the current country, call
this function with 00h in AL. To get information for another
country, specify the appropriate country code in AL. For country
codes larger than 254 (0FEh), enter FFh in AL and the country code
in BX.
──────────────────────────────────────────────────────────────────
2. Set the country code that DOS uses to determine country
information for the keyboard and screen (DOS 3.0+)
Entry AH = 38h
AL = Country code
BX = 16-bit country code (if AL=FFh)
DX = FFFFh
Return AX = Error code, if CF is set
| 01h Invalid function
| 02h File not found
To specify a country code larger than 254 (FEh), place FFh in AL
and the 16-bit country code in BX.