Files
oldlinux-files/docs/interrupts/int-html/rb-2887.htm
2024-02-19 00:23:35 -05:00

256 lines
15 KiB
HTML

<HTML>
<HEAD>
<TITLE>Int 21/AX=4405h
</TITLE>
<META NAME="Description" CONTENT="
Int 21/AX=4405h - SUPERSTOR - IOCTL - INSTALL CHECK -
AX = 4405h
BL = drive number (00h = default, 01h = A:, etc)
(BH = 0???)
CX = 000Ch (size of SuperStor packet structure)
DS:DX - SuperStor packet structure (see #04114)
Return: CF clear if IOCTL successful -- check SuperStor packet for actual
status
AX = number of bytes actually transferred???
CF set on error
AX = error code (01h,05h,06h,0Dh) (see #01680 at AH=59h/BX=0000h)
">
<META NAME="robots" CONTENT="none">
</HEAD>
<BODY BGCOLOR="#FFD0A0">
<center>
<h2>Int 21/AX=4405h
</h2>
</center><p>
<table border=1 cellpadding=3 cellspacing=1>
<td>
<a href="rb-2886.htm" tppabs="http://www.ctyme.com/intr/rb-2886.htm">
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
<a href="rb-2888.htm" tppabs="http://www.ctyme.com/intr/rb-2888.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>SUPERSTOR - IOCTL - INSTALL CHECK</font></h3>
<PRE>
AX = 4405h
BL = drive number (00h = default, 01h = A:, etc)
(BH = 0???)
CX = 000Ch (size of SuperStor packet structure)
DS:DX -> SuperStor packet structure <a href="rb-2887.htm#Table4114" tppabs="http://www.ctyme.com/intr/rb-2887.htm#Table4114">(see #04114)</a><br>
<p><b>Return:</b><br>CF clear if IOCTL successful -- check SuperStor packet for actual
status
AX = number of bytes actually transferred???
CF set on error
AX = error code (01h,05h,06h,0Dh) <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>Note:</b>
This function is called with CX = 0008h for command 06h by NWCACHE
although the Request Packet can be larger. WINSWAP.SYS calls it
with 000Ch - also for command 06h.
<PRE>
<p>
Format of SuperStor packet:
<a name=table4114></a>
Offset Size Description (Table 04114)
00h WORD (call) product signature AA55h
(ret) result code, 0000h if successful
02h BYTE (call) SuperStor product ID (01h)
03h BYTE (call) SuperStor command parameter:
06h = get compressed drive structure / drive parameters
07h = return the compressed length of a file
08h = return real drive ID for swapped drive
09h = validate the contents of the cluster
0Bh = checks whether deleted cluster is free
0Ch = reallocate previously deleted cluster
0Dh = read absolute sector from the drive
0Eh = write absolute sector to the drive
0Fh = instruct the driver to rebuild tables
10h = flush any cached Replacement Block Table (RBT) sectors
to the drive
---command 06h---
04h DWORD (ret) pointer to SuperStor CVF's compressed unit structure
<a href="rb-2887.htm#Table4115" tppabs="http://www.ctyme.com/intr/rb-2887.htm#Table4115">(see #04115)</a>
08h DWORD (ret) pointer to internal status structure
---command 07h---
04h DWORD (ret) size of file in bytes
08h WORD (ret) first cluster number
---command 08h---
04h BYTE (ret) swapped drive (0-based)
---commands 09h,0Bh,0Ch---
04h WORD (call) cluster
---commands 0Dh,0Eh---
04h DWORD (call) first logical sector to transfer
08h WORD (call) number of logical sectors to transfer
0Ah DWORD (call) pointer to buffer
---command 0Fh---
04h WORD (call) temporary buffer area
---command 10h---
no additional parameters
<p>
Format of SuperStor CVF compressed unit structure:
<a name=table4115></a>
Offset Size Description (Table 04115)
00h 31 BYTEs BIOS parameter block for compressed drive <a href="rb-2985.htm#Table1663" tppabs="http://www.ctyme.com/intr/rb-2985.htm#Table1663">(see #01663)</a>
1Fh 5 BYTEs reserved for future expansion of the BPB
24h 33 BYTEs DOS 4-6 style drive parameter block for compressed drive
<a href="rb-2724.htm#Table1395" tppabs="http://www.ctyme.com/intr/rb-2724.htm#Table1395">(see #01395)</a>
45h 2 BYTEs reserved for future expansion of the DPB
47h WORD first sector of relocation table (RBT)
49h WORD first sector of file allocation table
4Bh WORD first sector of the data area
4Dh BYTE sec2byteshift
4Eh 2 BYTEs ???
</PRE>
<p><b>Note:</b>
Reportedly these two bytes did not exist in ADDSTOR's
specification, so the whole structure would have
been documented differently.
50h WORD sectors per cluster
52h BYTE sector shift
53h WORD compression ratio
55h DWORD number of physical sectors in the host file
59h WORD OS version
5Bh BYTE SuperStor level
5Ch BYTE unknown???
5Dh BYTE flags
<PRE>
<p><b>bits 7-1:</b><br>???
<p><b>bit 0:</b><br>Drive is mounted
5Eh BYTE unknown???
5Fh DWORD pointer to CVF's underlaying host DCB
this should be the physical DPB for this unit
-> +00h BYTE host unit DOS unit number
+01h BYTE CVF's driver host subunit number
</PRE>
<p><b>Note:</b>
As this SuperStor compressed unit structure's structure is located
within the segment the SuperStor driver has occupied, the segment
value of its address can be used as an installation check, since it
contains the signature "ADDSTOR" at offset 20h in the SuperStor
driver. This is used by Novell DOS 7 WINSWAP.SYS to check for the
presence of SuperStor.
<p><b>See Also:</b>
#04114
<PRE>
<p><b>Index:</b><br>Installation check;SuperStor
</PRE>
<p>
<b>Category: <a href="cat-043.htm" tppabs="http://www.ctyme.com/intr/cat-043.htm">
Uncatagorized</a>
- <a href="int-21.htm" tppabs="http://www.ctyme.com/intr/int-21.htm">
Int 21h</a>
- <a href="alpha-s.htm" tppabs="http://www.ctyme.com/intr/alpha-s.htm">
S</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-2886.htm" tppabs="http://www.ctyme.com/intr/rb-2886.htm">
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
<a href="rb-2888.htm" tppabs="http://www.ctyme.com/intr/rb-2888.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>