227 lines
14 KiB
HTML
227 lines
14 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>Int 21/AH=3Fh
|
|
</TITLE>
|
|
<META NAME="Description" CONTENT="
|
|
Int 21/AH=3Fh - BW-TCP - GET DRIVER INFO -
|
|
AH = 3Fh
|
|
BX = file handle for device ETHDEV27
|
|
CX = 002Bh
|
|
DS:DX - buffer for driver info (see #01412)
|
|
Return: CF clear if successful
|
|
AX = number of bytes actually read (0 if at EOF before call)
|
|
CF set on error
|
|
AX = error code (05h,06h) (see #01680 at AH=59h/BX=0000h)
|
|
Program: BW-TCP is a TCP/IP protocol stack by Beame & Whiteside Software
|
|
InstallCheck: for the TCP/IP stack, test for the existence of the character
|
|
">
|
|
<META NAME="robots" CONTENT="none">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFD0A0">
|
|
<center>
|
|
<h2>Int 21/AH=3Fh
|
|
</h2>
|
|
</center><p>
|
|
<table border=1 cellpadding=3 cellspacing=1>
|
|
<td>
|
|
<a href="rb-2786.htm" tppabs="http://www.ctyme.com/intr/rb-2786.htm">
|
|
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
|
|
<a href="rb-2788.htm" tppabs="http://www.ctyme.com/intr/rb-2788.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>BW-TCP - GET DRIVER INFO</font></h3>
|
|
<PRE>
|
|
AH = 3Fh
|
|
BX = file handle for device "ETHDEV27"
|
|
CX = 002Bh
|
|
DS:DX -> buffer for driver info <a href="rb-2787.htm#Table1412" tppabs="http://www.ctyme.com/intr/rb-2787.htm#Table1412">(see #01412)</a><br>
|
|
<p><b>Return:</b><br>CF clear if successful
|
|
AX = number of bytes actually read (0 if at EOF before call)
|
|
CF set on error
|
|
AX = error code (05h,06h) <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)
|
|
</PRE>
|
|
<p><b>Program:</b>
|
|
BW-TCP is a TCP/IP protocol stack by Beame & Whiteside Software
|
|
<PRE>
|
|
<p><b>InstallCheck:</b><br>For the TCP/IP stack, test for the existence of the character
|
|
device UDP-IP10
|
|
</PRE>
|
|
<p><b>Note:</b>
|
|
The B&W socket library performs an INT 21/AX=4401h with DX=0060h before
|
|
making this call to retrieve the driver information; one should also
|
|
call the private API interrupt with AH=15h
|
|
<p><b>See Also:</b>
|
|
<a href="rb-0994.htm" tppabs="http://www.ctyme.com/intr/rb-0994.htm">INT 14/AH=56h</a> - <a href="rb-6905.htm" tppabs="http://www.ctyme.com/intr/rb-6905.htm">INT 62/AH=00h"ETHDEV"</a> - <a href="rb-7203.htm" tppabs="http://www.ctyme.com/intr/rb-7203.htm">INT 63/AH=03h</a> - <a href="rb-7251.htm" tppabs="http://www.ctyme.com/intr/rb-7251.htm">INT 64/AH=01h</a>
|
|
<PRE>
|
|
<p><b>Index:</b><br>Installation check;BW-TCP hardware driver
|
|
<p><b>Index:</b><br>Installation check;BW-TCP TCPIP.SYS
|
|
<p>
|
|
Format of BW-TCP driver info:
|
|
<a name=table1412></a>
|
|
Offset Size Description (Table 01412)
|
|
00h WORD I/O base address
|
|
02h BYTE shared memory page (01h = segment 0100h, etc.)
|
|
03h BYTE interrupt vector for private API
|
|
04h BYTE IRQ used by board
|
|
05h WORD size of data buffer
|
|
07h WORD maximum transfer window
|
|
09h WORD time zone
|
|
0Bh BYTE address type (01h user, 04h RARP, 05h BOOTP)
|
|
0Ch DWORD internet address
|
|
10h WORD "value" ???
|
|
12h BYTE subnet mask
|
|
13h WORD "ether_pointer" ???
|
|
15h WORD offset in device driver of log server records <a href="rb-2787.htm#Table1413" tppabs="http://www.ctyme.com/intr/rb-2787.htm#Table1413">(see #01413)</a>
|
|
17h WORD offset in device driver of name server records <a href="rb-2787.htm#Table1413" tppabs="http://www.ctyme.com/intr/rb-2787.htm#Table1413">(see #01413)</a>
|
|
19h WORD offset in device driver of print server records <a href="rb-2787.htm#Table1413" tppabs="http://www.ctyme.com/intr/rb-2787.htm#Table1413">(see #01413)</a>
|
|
1Bh WORD offset in device driver of time server records <a href="rb-2787.htm#Table1413" tppabs="http://www.ctyme.com/intr/rb-2787.htm#Table1413">(see #01413)</a>
|
|
1Dh WORD offset in device driver of gateway records <a href="rb-2787.htm#Table1413" tppabs="http://www.ctyme.com/intr/rb-2787.htm#Table1413">(see #01413)</a>
|
|
1Fh WORD segment address of device driver
|
|
21h BYTE transfer size
|
|
22h 9 BYTEs network adapter board name
|
|
---11/21/91+ ---
|
|
23h BYTE ETHDEV version (major in high nybble, minor in low nybble)
|
|
24h BYTE ETHDEV revision
|
|
25h BYTE TCPIP version (major in high nybble, minor in low nybble)
|
|
26h BYTE TCPIP revision
|
|
27h BYTE BWRPC version (major in high nybble, minor in low nybble)
|
|
28h BYTE BWRPC revision
|
|
29h BYTE BWNFS version (major in high nybble, minor in low nybble)
|
|
2Ah BYTE BWNFS revision
|
|
2Bh BYTE Telnet version (major in high nybble, minor in low nybble)
|
|
2Ch BYTE Telnet revision
|
|
2Dh BYTE NETBIOS version (major in high nybble, minor in low nybble)
|
|
2Eh BYTE NETBIOS revision
|
|
</PRE>
|
|
<p><b>Note:</b>
|
|
For each driver, if version=0, the driver is not installed or does
|
|
not support the version check
|
|
<PRE>
|
|
<p>
|
|
Format of BW-TCP server records:
|
|
<a name=table1413></a>
|
|
Offset Size Description (Table 01413)
|
|
00h BYTE number of server records following
|
|
01h N DWORDs internet addresses of servers
|
|
</PRE>
|
|
<p>
|
|
<b>Category: <a href="cat-027.htm" tppabs="http://www.ctyme.com/intr/cat-027.htm">
|
|
Network</a>
|
|
- <a href="int-21.htm" tppabs="http://www.ctyme.com/intr/int-21.htm">
|
|
Int 21h</a>
|
|
- <a href="alpha-b.htm" tppabs="http://www.ctyme.com/intr/alpha-b.htm">
|
|
B</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-2786.htm" tppabs="http://www.ctyme.com/intr/rb-2786.htm">
|
|
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
|
|
<a href="rb-2788.htm" tppabs="http://www.ctyme.com/intr/rb-2788.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>
|