342 lines
18 KiB
HTML
342 lines
18 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>Int E0/CL=71h
|
|
</TITLE>
|
|
<META NAME="Description" CONTENT="
|
|
Int E0/CL=71h - ConcCP/M,DR Multiuser DOS - EXECUTE DOS-COMPATIBLE FUNCTIONS -
|
|
CL = 71h
|
|
DS:DX - parameter block (see #04038)
|
|
Return: AX = status (0000h successful, else error code)
|
|
may destroy SI,DI,DS
|
|
(Table 04037)
|
|
Values for DR execute DOS-compatible function function number:
|
|
00h fd_getdpb get disk information (see also INT 21/AH=32h)
|
|
01h fd_mkdir create directory (see also INT 21/AH=39h)
|
|
02h fd_rmdir remove directory (see also INT 21/AH=3Ah)
|
|
">
|
|
<META NAME="robots" CONTENT="none">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFD0A0">
|
|
<center>
|
|
<h2>Int E0/CL=71h
|
|
</h2>
|
|
</center><p>
|
|
<table border=1 cellpadding=3 cellspacing=1>
|
|
<td>
|
|
<a href="rb-8537.htm" tppabs="http://www.ctyme.com/intr/rb-8537.htm">
|
|
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
|
|
<a href="rb-8539.htm" tppabs="http://www.ctyme.com/intr/rb-8539.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>ConcCP/M,DR Multiuser DOS - EXECUTE DOS-COMPATIBLE FUNCTIONS</font></h3>
|
|
<PRE>
|
|
CL = 71h
|
|
DS:DX -> parameter block <a href="rb-8538.htm#Table4038" tppabs="http://www.ctyme.com/intr/rb-8538.htm#Table4038">(see #04038)</a><br>
|
|
<p><b>Return:</b><br>AX = status (0000h successful, else error code)
|
|
may destroy SI,DI,DS
|
|
<p>
|
|
<a name=table4037></a>
|
|
(Table 04037)
|
|
Values for DR "execute DOS-compatible function" function number:
|
|
00h "fd_getdpb" get disk information (see also INT 21/AH=32h)
|
|
01h "fd_mkdir" create directory (see also INT 21/AH=39h)
|
|
02h "fd_rmdir" remove directory (see also INT 21/AH=3Ah)
|
|
03h "fd_chdir" change directory (see also INT 21/AH=3Bh)
|
|
04h "fd_creat" create file (see also INT 21/AH=3Ch)
|
|
05h "fd_open" open existing file (see also INT 21/AH=3Dh)
|
|
06h "fd_close" close file (see also INT 21/AH=3Eh)
|
|
07h "fd_read" read from file (see also INT 21/AH=3Fh)
|
|
08h "fd_write" write to file (see also INT 21/AH=40h)
|
|
09h "fd_delete" delete file (see also INT 21/AH=41h)
|
|
0Ah "fd_lseek" get/set file position (see also INT 21/AH=42h)
|
|
0Bh "fd_chmod" get/set file attributes (see also INT 21/AH=43h)
|
|
0Ch "fd_curdir" get current directory (see also INT 21/AH=47h)
|
|
0Dh "fd_sfirst" find first matching file (see also INT 21/AH=4Eh)
|
|
0Eh "fd_snext" find next matching file (see also INT 21/AH=4Fh)
|
|
0Fh "fd_rename" rename file (see also INT 21/AH=56h)
|
|
10h "fd_gsfdate" get/set file date (see also INT 21/AX=5700h)
|
|
11h "fd_mktemp" make temporary file (see also INT 21/AH=5Ah)
|
|
12h "fd_mknew" create new file (see also INT 21/AH=5Bh)
|
|
13h "fd_lock" lock/unlock file data (see also INT 21/AH=5Ch)
|
|
14h "fd_dup" duplicate file handle (see also INT 21/AH=45h)
|
|
15h "fd_dup2" force duplicate file handle (see also INT 21/AH=46h)
|
|
16h-19h ???
|
|
1Ah "fd_ioctl" I/O control emulation
|
|
1Bh "fd_commit" commit file to disk (see also INT 21/AH=68h)
|
|
1Ch "fd_expand" expand file name (see also INT 21/AH=60h)
|
|
1Dh ???
|
|
1Eh ???
|
|
1Fh "fd_sethandles" set number of handles for calling process
|
|
</PRE>
|
|
<p><b>See Also:</b>
|
|
#04038
|
|
<PRE>
|
|
<p>
|
|
Format of DR "execute DOS-compatible function" parameter block:
|
|
<a name=table4038></a>
|
|
Offset Size Description (Table 04038)
|
|
00h WORD function number <a href="rb-8538.htm#Table4037" tppabs="http://www.ctyme.com/intr/rb-8538.htm#Table4037">(see #04037)</a>
|
|
---function 00h---
|
|
02h WORD drive
|
|
04h DWORD -> DPB <a href="rb-8538.htm#Table4039" tppabs="http://www.ctyme.com/intr/rb-8538.htm#Table4039">(see #04039)</a>
|
|
---function 01h,02h,03h---
|
|
02h DWORD -> ASCIZ directory name
|
|
---function 04h---
|
|
02h DWORD -> ASCIZ filename
|
|
06h WORD file attributes
|
|
---function 05h---
|
|
02h DWORD -> ASCIZ filename
|
|
06h WORD open mode (see INT 21/AH=3Dh)
|
|
---function 06h---
|
|
02h WORD file handle
|
|
---function 07h,08h---
|
|
02h WORD file handle
|
|
04h DWORD -> buffer
|
|
08h WORD number of bytes to read or write
|
|
---function 09h---
|
|
02h DWORD -> ASCIZ filename
|
|
---function 0Ah---
|
|
02h WORD file handle
|
|
04h DWORD (call) desired offset
|
|
(ret) new file position if function is successful
|
|
08h WORD seek origin (offset is calculated from specified position)
|
|
00h start of file
|
|
01h current position
|
|
02h end of file
|
|
---function 0Bh---
|
|
02h DWORD -> ASCIZ filename
|
|
06h WORD (call) new file attributes or new file owner
|
|
(ret) current/new file attributes, depending on function
|
|
08h WORD subfunction
|
|
00h get attribute
|
|
01h set attribute
|
|
02h get extended attributes
|
|
03h set extended attributes (and password)
|
|
04h get encrypted password
|
|
05h set extended attributes (and encrypted password)
|
|
06h get file owner
|
|
07h set file owner
|
|
</PRE>
|
|
<p><b>Note:</b>
|
|
The password is taken from the first 8 bytes of the DTA
|
|
---function 0Ch---
|
|
02h WORD drive
|
|
04h DWORD -> 64-byte buffer for ASCIZ current directory path
|
|
---function 0Dh---
|
|
02h DWORD -> ASCIZ filespec
|
|
06h WORD file attributes
|
|
08h WORD (call) size of buffer pointed at by current DTA
|
|
(ret) number of matching files returned???
|
|
<p><b>Note:</b>
|
|
If the volume label attribute is specified, the root
|
|
directory will be searched
|
|
if the buffer is at least 47 bytes, multiple matching
|
|
entries will be stored in the DTA (at 21 bytes per
|
|
entry)
|
|
---function 0Eh---
|
|
02h WORD number of additional matches to store in DTA
|
|
(normally set to 0, but if DTA is at least 47 bytes, can be
|
|
set to (DTAsize-21)/26 to return multiple matches)
|
|
---function 0Fh---
|
|
02h DWORD -> ASCIZ filename
|
|
06h DWORD -> ASCIZ new name
|
|
---function 10h---
|
|
02h WORD file handle
|
|
04h WORD subfunction
|
|
00h get date and time
|
|
01h set date and time
|
|
06h WORD file date
|
|
08h WORD file time
|
|
---function 11h---
|
|
02h DWORD -> ASCIZ pathname + 13 extra bytes for generated filename
|
|
(if pathname does not end in backslash, one will be appended)
|
|
06h WORD file attributes
|
|
---function 12h---
|
|
02h DWORD -> ASCIZ filename
|
|
06h WORD file attributes
|
|
---function 13h---
|
|
02h WORD file handle
|
|
04h DWORD offset of start of region
|
|
08h DWORD length of region to lock/unlock
|
|
0Ch WORD subfunction (00h = lock, 01h = unlock)
|
|
---function 14h---
|
|
02h WORD file handle to be duplicated
|
|
(new file handle is returned as function return value)
|
|
---function 15h---
|
|
02h WORD file handle to be duplicated
|
|
04h WORD file handle which is to become the duplicate
|
|
---function 1Ah, form 1---
|
|
02h WORD file handle
|
|
04h WORD IOCTL function number (00h,01h,06h,07h,0Ah)
|
|
06h WORD (ret) status
|
|
---function 1Ah, form 2---
|
|
02h WORD drive number
|
|
04h WORD IOCTL function number (08h,09h,0Eh,0Fh)
|
|
06h WORD (ret) status
|
|
---function 1Ah, form 3---
|
|
02h WORD file handle
|
|
04h WORD IOCTL function number (02h,03h,54h)
|
|
06h DWORD -> buffer
|
|
0Ah WORD (call) size of buffer in bytes
|
|
(ret) size of returned data
|
|
---function 1Ah, form 4---
|
|
02h WORD drive number
|
|
04h WORD IOCTL function number (04h,05h)
|
|
06h DWORD -> buffer
|
|
0Ah WORD (call) size of buffer in bytes
|
|
(ret) size of returned data
|
|
---function 1Bh---
|
|
02h WORD file handle of file to be committed to disk
|
|
---function 1Ch---
|
|
02h DWORD -> ASCIZ relative filename
|
|
06h DWORD -> buffer for absolute filename
|
|
---function 1Fh---
|
|
02h WORD desired number of file handles for process
|
|
<PRE>
|
|
<p>
|
|
Format of DR Multiuser DOS Disk Parameter Block (DPB):
|
|
<a name=table4039></a>
|
|
Offset Size Description (Table 04039)
|
|
00h BYTE drive number (00h = A:)
|
|
01h BYTE relative unit number
|
|
02h WORD sector size in bytes
|
|
04h BYTE sectors per cluster - 1
|
|
05h BYTE shift count to convert clusters into sectors
|
|
06h WORD number of reserved sectors at beginning of drive
|
|
08h BYTE number of FATs
|
|
09h WORD number of root directory entries
|
|
0Bh WORD number of first sector containing user data
|
|
0Dh WORD number of clusterse on disk
|
|
0Fh BYTE number of sectors per FAT
|
|
10h WORD sector number of first directory sector
|
|
12h 4 BYTEs reserved
|
|
16h BYTE media ID byte <a href="rb-2590.htm#Table1356" tppabs="http://www.ctyme.com/intr/rb-2590.htm#Table1356">(see #01356)</a>
|
|
17h BYTE 00h if disk accessed, FFh if not
|
|
18h 6 BYTEs reserved
|
|
1Eh WORD number of free clusters on drive
|
|
</PRE>
|
|
<p><b>Note:</b>
|
|
This structure is a subset of the MS-DOS 3.x Drive Parameter Block
|
|
<p><b>See Also:</b>
|
|
#04038 - #01357 at INT 21/AH=1Fh - #01395 at INT 21/AH=32h
|
|
<p>
|
|
<b>Category: <a href="cat-030.htm" tppabs="http://www.ctyme.com/intr/cat-030.htm">
|
|
Other Operating Systems</a>
|
|
- <a href="int-e0-1.htm" tppabs="http://www.ctyme.com/intr/int-E0.htm">
|
|
Int E0h</a>
|
|
- <a href="alpha-c.htm" tppabs="http://www.ctyme.com/intr/alpha-c.htm">
|
|
C</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-8537.htm" tppabs="http://www.ctyme.com/intr/rb-8537.htm">
|
|
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
|
|
<a href="rb-8539.htm" tppabs="http://www.ctyme.com/intr/rb-8539.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>
|