246 lines
14 KiB
HTML
246 lines
14 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>Int 21/AH=3Fh
|
|
</TITLE>
|
|
<META NAME="Description" CONTENT="
|
|
Int 21/AH=3Fh - Turbo Debug HARDWARE BREAKPOINTS - READ STATUS BLOCK -
|
|
AH = 3Fh
|
|
BX = handle for character device TDHDEBUG
|
|
CX = number of bytes to read
|
|
DS:DX - buffer for status block (see #01406)
|
|
Return: CF clear if successful
|
|
AX = number of bytes actually read
|
|
CF set on error
|
|
AX = error code (05h,06h) (see #01680 at AH=59h/BX=0000h)
|
|
SeeAlso: AH=40hTurbo Debug
|
|
">
|
|
<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-2783.htm" tppabs="http://www.ctyme.com/intr/rb-2783.htm">
|
|
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
|
|
<a href="rb-2785.htm" tppabs="http://www.ctyme.com/intr/rb-2785.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>Turbo Debug HARDWARE BREAKPOINTS - READ STATUS BLOCK</font></h3>
|
|
<PRE>
|
|
AH = 3Fh
|
|
BX = handle for character device "TDHDEBUG"
|
|
CX = number of bytes to read
|
|
DS:DX -> buffer for status block <a href="rb-2784.htm#Table1406" tppabs="http://www.ctyme.com/intr/rb-2784.htm#Table1406">(see #01406)</a><br>
|
|
<p><b>Return:</b><br>CF clear if successful
|
|
AX = number of bytes actually read
|
|
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>See Also:</b>
|
|
<a href="rb-2792.htm" tppabs="http://www.ctyme.com/intr/rb-2792.htm">AH=40h"Turbo Debug"</a>
|
|
<PRE>
|
|
<p>
|
|
<a name=table1405></a>
|
|
(Table 01405)
|
|
Values for status of Turbo Debugger command:
|
|
00h successful
|
|
01h invalid handle
|
|
02h no more breakpoints available
|
|
03h hardware does not support specified breakpoint type
|
|
04h previous command prevents execution
|
|
05h debugger hardware not found
|
|
06h hardware failure
|
|
07h invalid command
|
|
08h driver not initialized yet
|
|
FEh recursive entry (hardware breakpoint inside hw bp handler)
|
|
<p>
|
|
Format of Turbo Debugger status block:
|
|
<a name=table1406></a>
|
|
Offset Size Description (Table 01406)
|
|
00h BYTE status of command <a href="rb-2784.htm#Table1405" tppabs="http://www.ctyme.com/intr/rb-2784.htm#Table1405">(see #01405)</a>
|
|
---status for command 01h---
|
|
01h WORD device driver interface version number (currently 1)
|
|
03h WORD device driver software version
|
|
05h BYTE maximum simultaneous hardware breakpoints
|
|
06h BYTE configuration bits <a href="rb-2784.htm#Table1407" tppabs="http://www.ctyme.com/intr/rb-2784.htm#Table1407">(see #01407)</a>
|
|
07h BYTE supported breakpoint types <a href="rb-2784.htm#Table1408" tppabs="http://www.ctyme.com/intr/rb-2784.htm#Table1408">(see #01408)</a>
|
|
08h WORD supported addressing match modes <a href="rb-2784.htm#Table1409" tppabs="http://www.ctyme.com/intr/rb-2784.htm#Table1409">(see #01409)</a>
|
|
0Ah WORD supported data matches <a href="rb-2784.htm#Table1410" tppabs="http://www.ctyme.com/intr/rb-2784.htm#Table1410">(see #01410)</a>
|
|
0Ch BYTE maximum data match length (01h, 02h, or 04h)
|
|
0Dh WORD size of onboard memory (in KB)
|
|
0Fh WORD maximum number of trace-back events
|
|
11h WORD hardware breakpoint enable byte address segment (0000h if not
|
|
supported)
|
|
---status for command 04h---
|
|
01h BYTE handle to use when referring to the just-set breakpoint
|
|
<p>
|
|
Bitfields for Turbo Debugger configuration bits:
|
|
<a name=table1407></a>
|
|
Bit(s) Description (Table 01407)
|
|
0 CPU and DMA accesses are distinct
|
|
1 can detect DMA transfers
|
|
2 supports data mask
|
|
3 hardware pass counter on breakpoints
|
|
4 can match on data as well as addresses
|
|
<p>
|
|
Bitfields for Turbo Debugger supported breakpoint types:
|
|
<a name=table1408></a>
|
|
Bit(s) Description (Table 01408)
|
|
0 memory read
|
|
1 memory write
|
|
2 memory read/write
|
|
3 I/O read
|
|
4 I/O write
|
|
5 I/O read/write
|
|
6 instruction fetch
|
|
<p>
|
|
Bitfields for Turbo Debugger supported addressing match modes:
|
|
<a name=table1409></a>
|
|
Bit(s) Description (Table 01409)
|
|
0 any address
|
|
1 equal to test value
|
|
2 not equal
|
|
3 above test value
|
|
4 below test value
|
|
5 below or equal
|
|
6 above or equal
|
|
7 within range
|
|
8 outside range
|
|
<p>
|
|
Bitfields for Turbo Debugger supported data matches:
|
|
<a name=table1410></a>
|
|
Bit(s) Description (Table 01410)
|
|
0 any data
|
|
1 equal to test value
|
|
2 not equal
|
|
3 above test value
|
|
4 below test value
|
|
5 below or equal
|
|
6 above or equal
|
|
7 within range
|
|
8 outside range
|
|
</PRE>
|
|
<p>
|
|
<b>Category: <a href="cat-006.htm" tppabs="http://www.ctyme.com/intr/cat-006.htm">
|
|
Debuggers/Debugging Tools</a>
|
|
- <a href="int-21.htm" tppabs="http://www.ctyme.com/intr/int-21.htm">
|
|
Int 21h</a>
|
|
- <a href="alpha-t.htm" tppabs="http://www.ctyme.com/intr/alpha-t.htm">
|
|
T</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-2783.htm" tppabs="http://www.ctyme.com/intr/rb-2783.htm">
|
|
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
|
|
<a href="rb-2785.htm" tppabs="http://www.ctyme.com/intr/rb-2785.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>
|