65 lines
1.6 KiB
HTML
65 lines
1.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Type"
|
|
content="text-html; charset=Windows-1252">
|
|
<title>INT 21,38 - Get/Set Country Dependent Information</title>
|
|
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1><a name="kap_interrupt_1980"></a>INT 21,38 - Get/Set Country
|
|
Dependent Information</h1>
|
|
|
|
<p> AH = 38h</p>
|
|
|
|
<p> AL = 00 to get current country information</p>
|
|
|
|
<p> = 00-FE country codes (DOS 3.x+)</p>
|
|
|
|
<p> = FF for country codes >= FF, country codes are in BX</p>
|
|
|
|
<p> BX = country code if AL = FF (country code > 255)</p>
|
|
|
|
<p> DX = FFFF to set country information</p>
|
|
|
|
<p> DS:DX = pointer to buffer to contain country data (if get
|
|
data)</p>
|
|
|
|
<p> on return:</p>
|
|
|
|
<p> AX = error code if CF set</p>
|
|
|
|
<p> = 02 invalid country</p>
|
|
|
|
<p> BX = country code (DOS 3.x+)</p>
|
|
|
|
<p> DS:DX = pointer to returned country data (see ~COUNTRY
|
|
CODES~)</p>
|
|
|
|
<p> - returns a pointer to country specific data, for DOS 3.x+
|
|
this</p>
|
|
|
|
<p> function can be used to also set this information</p>
|
|
|
|
<hr>
|
|
|
|
<table border="0" width="100%" cols="3">
|
|
<tr>
|
|
<td width="33%">Zurück zum <a href="inte1at0.htm">Interrupt
|
|
Info</a>. </td>
|
|
<td align="center" width="33%"><a
|
|
href="mailto:Roger.Morgan@htl-steyr.ac.at">Roger Morgan</a>
|
|
/ 1998 </td>
|
|
<td align="right" width="33%"><font size="1">L.Änderung <!--webbot
|
|
bot="Timestamp" s-type="EDITED" s-format="%d.%m.%y"
|
|
startspan -->29.03.99<!--webbot bot="Timestamp" endspan
|
|
i-checksum="13964" --> </font></td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|