282 lines
17 KiB
HTML
282 lines
17 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>Int 21/AH=65h
|
|
</TITLE>
|
|
<META NAME="Description" CONTENT="
|
|
Int 21/AH=65h - DOS 3.3+ - GET EXTENDED COUNTRY INFORMATION -
|
|
AH = 65h
|
|
AL = info ID
|
|
01h get general internationalization info (see also AX=6500h)
|
|
02h get pointer to uppercase table
|
|
03h (DOS 6.2+ COUNTRY.SYS) get pointer to lowercase table
|
|
04h get pointer to filename uppercase table
|
|
05h get pointer to filename terminator table
|
|
06h get pointer to collating sequence table
|
|
07h (DOS 4.0+) get pointer to Double-Byte Character Set table
|
|
BX = code page (FFFFh=global code page) (see #01757)
|
|
">
|
|
<META NAME="robots" CONTENT="none">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFD0A0">
|
|
<center>
|
|
<h2>Int 21/AH=65h
|
|
</h2>
|
|
</center><p>
|
|
<table border=1 cellpadding=3 cellspacing=1>
|
|
<td>
|
|
<a href="rb-3162.htm" tppabs="http://www.ctyme.com/intr/rb-3162.htm">
|
|
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
|
|
<a href="rb-3164.htm" tppabs="http://www.ctyme.com/intr/rb-3164.htm">
|
|
<img src="ldown.gif" tppabs="http://graphics.ctyme.com/gif/ldown.gif" border=0 alt=Next></a>
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/rbrown.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/rbrown.htm'" tppabs="http://www.ctyme.com/rbrown.htm">
|
|
<img src="lhome.gif" tppabs="http://graphics.ctyme.com/gif/lhome.gif" border=0 alt=Ralf Brown Page></a>
|
|
<td><a href="int.htm" tppabs="http://www.ctyme.com/intr/int.htm">Interrups</a></td>
|
|
<td><a href="cat.htm" tppabs="http://www.ctyme.com/intr/cat.htm">Categories</a></td>
|
|
<td><a href="alpha.htm" tppabs="http://www.ctyme.com/intr/alpha.htm">Contents</a></td>
|
|
</td></table><p>
|
|
<p><img src="rbline.gif" tppabs="http://graphics.ctyme.com/gif/rbline.gif" width="100%" alt="------"><p>
|
|
<h3><font color=#C00040>DOS 3.3+ - GET EXTENDED COUNTRY INFORMATION</font></h3>
|
|
<PRE>
|
|
AH = 65h
|
|
AL = info ID
|
|
01h get general internationalization info (see also AX=6500h)
|
|
02h get pointer to uppercase table
|
|
03h (DOS 6.2+ COUNTRY.SYS) get pointer to lowercase table
|
|
04h get pointer to filename uppercase table
|
|
05h get pointer to filename terminator table
|
|
06h get pointer to collating sequence table
|
|
07h (DOS 4.0+) get pointer to Double-Byte Character Set table
|
|
BX = code page (FFFFh=global code page) <a href="rb-3168.htm#Table1757" tppabs="http://www.ctyme.com/intr/rb-3168.htm#Table1757">(see #01757)</a>
|
|
DX = country ID (FFFFh=current country)
|
|
ES:DI -> country information buffer <a href="rb-3163.htm#Table1750" tppabs="http://www.ctyme.com/intr/rb-3163.htm#Table1750">(see #01750)</a>
|
|
CX = size of buffer (>= 5)<br>
|
|
<p><b>Return:</b><br>CF set on error
|
|
AX = error code <a href="javascript:if(confirm('http://www.ctyme.com/intr/rb-0000.htm \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/intr/rb-0000.htm#Table0'" tppabs="http://www.ctyme.com/intr/rb-0000.htm#Table0"></a>(see #01680 at AH=59h/BX=0000h)
|
|
CF clear if successful
|
|
CX = size of country information returned
|
|
ES:DI -> country information <a href="rb-3163.htm#Table1750" tppabs="http://www.ctyme.com/intr/rb-3163.htm#Table1750">(see #01750)</a>
|
|
</PRE>
|
|
<p><b>Notes:</b>
|
|
AL=05h appears to return same info for all countries and codepages; it
|
|
has been documented for DOS 5+, but was undocumented in earlier
|
|
versions.
|
|
NLSFUNC must be installed to get info for countries other than the
|
|
default.
|
|
Subfunctions 02h and 04h are identical under OS/2.
|
|
Subfunction 03h apparently supports only codepage 866 in DOS 6.2x
|
|
<p><b>See Also:</b>
|
|
<a href="rb-2773.htm" tppabs="http://www.ctyme.com/intr/rb-2773.htm">AH=38h</a> - <a href="rb-3191.htm" tppabs="http://www.ctyme.com/intr/rb-3191.htm">AH=70h"MS-DOS 7"</a> - <a href="rb-4458.htm" tppabs="http://www.ctyme.com/intr/rb-4458.htm">INT 2F/AX=1401h</a> - <a href="rb-4460.htm" tppabs="http://www.ctyme.com/intr/rb-4460.htm">I
|
|
<p><b>See Also:</b>
|
|
<a href="rb-4465.htm" tppabs="http://www.ctyme.com/intr/rb-4465.htm">INT 2F/AX=14FEh</a>
|
|
<PRE>
|
|
<p>
|
|
Format of country information:
|
|
<a name=table1750></a>
|
|
Offset Size Description (Table 01750)
|
|
00h BYTE info ID
|
|
---if info ID = 01h---
|
|
01h WORD size of following info in bytes
|
|
03h WORD country ID <a href="javascript:if(confirm('http://www.ctyme.com/intr/rb-0000.htm \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/intr/rb-0000.htm#Table0'" tppabs="http://www.ctyme.com/intr/rb-0000.htm#Table0"></a>(see #01400 at AH=38h)
|
|
05h WORD code page <a href="rb-3168.htm#Table1757" tppabs="http://www.ctyme.com/intr/rb-3168.htm#Table1757">(see #01757)</a>
|
|
07h 34 BYTEs country-dependent info <a href="javascript:if(confirm('http://www.ctyme.com/intr/rb-0000.htm \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/intr/rb-0000.htm#Table0'" tppabs="http://www.ctyme.com/intr/rb-0000.htm#Table0"></a>(see #01399 at AH=38h)
|
|
---if info ID = 02h---
|
|
01h DWORD pointer to uppercase table <a href="rb-3163.htm#Table1751" tppabs="http://www.ctyme.com/intr/rb-3163.htm#Table1751">(see #01751)</a>
|
|
---if info ID = 03h---
|
|
01h DWORD pointer to lowercase table <a href="rb-3163.htm#Table1752" tppabs="http://www.ctyme.com/intr/rb-3163.htm#Table1752">(see #01752)</a>
|
|
---if info ID = 04h---
|
|
01h DWORD pointer to filename uppercase table <a href="rb-3163.htm#Table1753" tppabs="http://www.ctyme.com/intr/rb-3163.htm#Table1753">(see #01753)</a>
|
|
---if info ID = 05h---
|
|
01h DWORD pointer to filename character table <a href="rb-3163.htm#Table1754" tppabs="http://www.ctyme.com/intr/rb-3163.htm#Table1754">(see #01754)</a>
|
|
---if info ID = 06h---
|
|
01h DWORD pointer to collating table <a href="rb-3163.htm#Table1755" tppabs="http://www.ctyme.com/intr/rb-3163.htm#Table1755">(see #01755)</a>
|
|
---if info ID = 07h (DOS 4.0+)---
|
|
01h DWORD pointer to DBCS lead byte table <a href="rb-3163.htm#Table1756" tppabs="http://www.ctyme.com/intr/rb-3163.htm#Table1756">(see #01756)</a>
|
|
</PRE>
|
|
<p><b>See Also:</b>
|
|
#01775
|
|
<PRE>
|
|
<p>
|
|
Format of uppercase table:
|
|
<a name=table1751></a>
|
|
Offset Size Description (Table 01751)
|
|
00h WORD table size (0080h)
|
|
02h 128 BYTEs uppercase equivalents (if any) of chars 80h to FFh
|
|
</PRE>
|
|
<p><b>See Also:</b>
|
|
#01750 - #01753
|
|
<PRE>
|
|
<p>
|
|
Format of lowercase table:
|
|
<a name=table1752></a>
|
|
Offset Size Description (Table 01752)
|
|
00h WORD table size (0100h)
|
|
02h 256 BYTEs lowercase equivalents (if any) of chars 00h to FFh
|
|
</PRE>
|
|
<p><b>See Also:</b>
|
|
#01750 - #01753
|
|
<PRE>
|
|
<p>
|
|
Format of filename uppercase table:
|
|
<a name=table1753></a>
|
|
Offset Size Description (Table 01753)
|
|
00h WORD table size (0080h)
|
|
02h 128 BYTEs uppercase equivalents (if any) of chars 80h to FFh
|
|
</PRE>
|
|
<p><b>See Also:</b>
|
|
#01750 - #01751
|
|
<PRE>
|
|
<p>
|
|
Format of filename terminator table:
|
|
<a name=table1754></a>
|
|
Offset Size Description (Table 01754)
|
|
00h WORD table size (not counting this word)
|
|
02h BYTE ??? (01h for MS-DOS 3.30-6.00)
|
|
03h BYTE lowest permissible character value for filename
|
|
04h BYTE highest permissible character value for filename
|
|
05h BYTE ??? (00h for MS-DOS 3.30-6.00)
|
|
06h BYTE first excluded character in range \ all characters in this
|
|
07h BYTE last excluded character in range / range are illegal
|
|
08h BYTE ??? (02h for MS-DOS 3.30-6.00)
|
|
09h BYTE number of illegal (terminator) characters
|
|
<p><b>0Ah N BYTEs characters which terminate a filename:</b><br>."/\[]:|<>+=;,
|
|
</PRE>
|
|
<p><b>Note:</b>
|
|
Partially documented for DOS 5+, but undocumented for earlier versions
|
|
<p><b>See Also:</b>
|
|
#01750
|
|
<PRE>
|
|
<p>
|
|
Format of collating table:
|
|
<a name=table1755></a>
|
|
Offset Size Description (Table 01755)
|
|
00h WORD table size (0100h)
|
|
02h 256 BYTEs values used to sort characters 00h to FFh
|
|
</PRE>
|
|
<p><b>See Also:</b>
|
|
#01750
|
|
<PRE>
|
|
<p>
|
|
Format of DBCS lead byte table:
|
|
<a name=table1756></a>
|
|
Offset Size Description (Table 01756)
|
|
00h WORD length of table in ranges
|
|
02h 2N BYTEs start/end for N lead byte ranges.
|
|
WORD 0000h (end of table)
|
|
</PRE>
|
|
<p><b>See Also:</b>
|
|
#01750
|
|
<p>
|
|
<b>Category: <a href="cat-010.htm" tppabs="http://www.ctyme.com/intr/cat-010.htm">
|
|
DOS Kernel</a>
|
|
- <a href="int-21.htm" tppabs="http://www.ctyme.com/intr/int-21.htm">
|
|
Int 21h</a>
|
|
- <a href="alpha-d.htm" tppabs="http://www.ctyme.com/intr/alpha-d.htm">
|
|
D</a>
|
|
</b><p><p><img src="rbline.gif" tppabs="http://graphics.ctyme.com/gif/rbline.gif" width="100%" alt="------"><p>
|
|
<table border=1 cellpadding=3 cellspacing=1>
|
|
<td>
|
|
<a href="rb-3162.htm" tppabs="http://www.ctyme.com/intr/rb-3162.htm">
|
|
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
|
|
<a href="rb-3164.htm" tppabs="http://www.ctyme.com/intr/rb-3164.htm">
|
|
<img src="ldown.gif" tppabs="http://graphics.ctyme.com/gif/ldown.gif" border=0 alt=Next></a>
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/rbrown.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/rbrown.htm'" tppabs="http://www.ctyme.com/rbrown.htm">
|
|
<img src="lhome.gif" tppabs="http://graphics.ctyme.com/gif/lhome.gif" border=0 alt=Ralf Brown Page></a>
|
|
<td><a href="int.htm" tppabs="http://www.ctyme.com/intr/int.htm">Interrups</a></td>
|
|
<td><a href="cat.htm" tppabs="http://www.ctyme.com/intr/cat.htm">Categories</a></td>
|
|
<td><a href="alpha.htm" tppabs="http://www.ctyme.com/intr/alpha.htm">Contents</a></td>
|
|
</td></table><p>
|
|
|
|
<!-- Bottom Link Start -->
|
|
|
|
<center>
|
|
|
|
<p><table border=1 bgcolor="#ffff99"><tr><td>
|
|
<table border=0 height=80>
|
|
<tr align=center><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/sponsor.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/sponsor.htm'" tppabs="http://www.ctyme.com/sponsor.htm">
|
|
<img src="tip.gif" tppabs="http://graphics.ctyme.com/gif/tip.gif" ALT="Sponsors" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://www.ctyme.com/sponsor.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/sponsor.htm'" tppabs="http://www.ctyme.com/sponsor.htm">Shopping</a>
|
|
|
|
</td><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://talk.ctyme.com/webx.cgi?13@@.ee6b2be \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://talk.ctyme.com/webx.cgi?13@@.ee6b2be'" tppabs="http://talk.ctyme.com/webx.cgi?13@@.ee6b2be">
|
|
<img src="comment.gif" tppabs="http://graphics.ctyme.com/gif/comment.gif" ALT="Forum" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://talk.ctyme.com/webx.cgi?13@@.ee6b2be \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://talk.ctyme.com/webx.cgi?13@@.ee6b2be'" tppabs="http://talk.ctyme.com/webx.cgi?13@@.ee6b2be">Forum</a>
|
|
|
|
</td><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/mail.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/mail.htm'" tppabs="http://www.ctyme.com/mail.htm">
|
|
<img src="mail.gif" tppabs="http://graphics.ctyme.com/gif/mail.gif" ALT="email" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://www.ctyme.com/mail.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/mail.htm'" tppabs="http://www.ctyme.com/mail.htm">EMail</a>
|
|
|
|
</td><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/map.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/map.htm'" tppabs="http://www.ctyme.com/map.htm">
|
|
<img src="toc.gif" tppabs="http://graphics.ctyme.com/gif/toc.gif" ALT="Index" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://www.ctyme.com/map.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/map.htm'" tppabs="http://www.ctyme.com/map.htm">Index</a>
|
|
|
|
</td><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/'" tppabs="http://www.ctyme.com/">
|
|
<img src="home.gif" tppabs="http://graphics.ctyme.com/gif/home.gif" ALT="Home" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://www.ctyme.com/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/'" tppabs="http://www.ctyme.com/">Home</a>
|
|
|
|
</td><td width="90">
|
|
|
|
<center>
|
|
<FORM ACTION="https://secure.paypal.com/cgi-bin/webscr" tppabs="https://secure.paypal.com/cgi-bin/webscr" METHOD="POST" traget="_blank">
|
|
<INPUT TYPE="hidden" NAME="cmd" VALUE="_xclick">
|
|
<INPUT TYPE="hidden" NAME="business" VALUE="marc@perkel.com">
|
|
<INPUT TYPE="hidden" NAME="return" VALUE="http://www.perkel.com">
|
|
<INPUT TYPE="hidden" NAME="item_name" VALUE="Donation To Support this Site">
|
|
<INPUT TYPE="hidden" NAME="no_intl" VALUE="1">
|
|
<INPUT TYPE="image" SRC="x-click-but7.gif" tppabs="http://images.paypal.com/images/x-click-but7.gif" vspace=9
|
|
NAME="submit" ALT="Make payments with PayPal - it's fast, free and secure!">
|
|
</FORM>
|
|
|
|
</td></tr></table></td></tr></table><p>
|
|
|
|
|
|
<center>
|
|
<p>
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/hosting/index.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/hosting/index.htm'" tppabs="http://www.ctyme.com/hosting/index.htm" target="_blank">
|
|
<img src="ctymehost.gif" tppabs="http://graphics.ctyme.com/gif/ctymehost.gif"
|
|
border=3 height=60 width=468></a>
|
|
<p>
|
|
<!-- Ad End --->
|
|
|
|
</center>
|
|
<FORM ACTION="http://service.bfast.com/bfast/click" target="_blank">
|
|
<INPUT TYPE="hidden" NAME="siteid" VALUE="30472466" >
|
|
<INPUT TYPE="hidden" NAME="bfpage" VALUE="horizontal">
|
|
<INPUT TYPE="hidden" NAME="bfmid" VALUE="27253343" >
|
|
<INPUT TYPE="hidden" NAME="num" VALUE="30">
|
|
|
|
<table bgcolor=white border=3><tr><td>
|
|
<table bgcolor=white border=0>
|
|
<tr><td>
|
|
<IMG SRC="serve-bfmid=27253343&siteid=30472466&bfpage=horizontal.gif" tppabs="http://service.bfast.com/bfast/serve?bfmid=27253343&siteid=30472466&bfpage=horizontal" BORDER="0" WIDTH="1" HEIGHT="1" align=right NOSAVE >
|
|
<center><b>Search the web with Google</b></center>
|
|
</td></tr><tr><td>
|
|
<TABLE cellpadding=0 cellspacing=5 bgcolor="#FFFFFF">
|
|
<tr><td bgcolor="#0000cc"><IMG SRC="cleardot.gif" tppabs="http://www.google.com/images/cleardot.gif" height=1 border="0" ALT="Google"></td></tr><tr><td>
|
|
<IMG SRC="affiliate_logo.gif" tppabs="http://www.google.com/affiliates/affiliate_logo.gif" border="0" ALT="Google" align="center">
|
|
<INPUT TYPE=text name=q size=30 maxlength=255 value="">
|
|
<INPUT type=submit name=sa VALUE="Go">
|
|
</td></tr>
|
|
<tr><td bgcolor="#0000cc"><IMG SRC="cleardot.gif" tppabs="http://www.google.com/images/cleardot.gif" height=1 border="0" ALT="Google"></td></tr></TABLE>
|
|
</td></tr></table>
|
|
</tr></td></table>
|
|
</FORM>
|
|
|
|
</center>
|
|
|
|
|
|
<p><img src="rbline.gif" tppabs="http://graphics.ctyme.com/gif/rbline.gif" width="100%" alt="------"><p>
|
|
|
|
<!-- Bottom Link End -->
|
|
|
|
</BODY>
|
|
</HTML>
|