add directory docs
This commit is contained in:
132
docs/interrupts/int-html0/inte8fzk.htm
Normal file
132
docs/interrupts/int-html0/inte8fzk.htm
Normal file
@@ -0,0 +1,132 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text-html; charset=Windows-1252">
|
||||
<title>INT 21,6C - Extended Open/Create (DOS 4.</title>
|
||||
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1><a name="kap_interrupt_2790"></a>INT 21,6C - Extended
|
||||
Open/Create (DOS 4.x+)</h1>
|
||||
|
||||
<p> AH = 6C</p>
|
||||
|
||||
<p> AL = 00</p>
|
||||
|
||||
<p> BX = open mode (see below)</p>
|
||||
|
||||
<p> CX = file attribute (see ~FILE ATTRIBUTES~, bits 15-8 are
|
||||
zero)</p>
|
||||
|
||||
<p> DX = function control indicator (see below)</p>
|
||||
|
||||
<p> DS:SI = ASCIIZ filespec</p>
|
||||
|
||||
<p> returns:</p>
|
||||
|
||||
<p> AX = handle if CF clear</p>
|
||||
|
||||
<p> = error code if CF set (see ~DOS ERROR CODES~)</p>
|
||||
|
||||
<p> CX = 01 file opened</p>
|
||||
|
||||
<p> = 02 file created and opened</p>
|
||||
|
||||
<p> = 03 file truncated and opened (replaced)</p>
|
||||
|
||||
<p> CF = 0 if successful</p>
|
||||
|
||||
<p> = 1 if error</p>
|
||||
|
||||
<p> % Open Mode in BX:</p>
|
||||
|
||||
<p> <20>F<EFBFBD>E<EFBFBD>D<EFBFBD>C<EFBFBD>B<EFBFBD>A<EFBFBD>9<EFBFBD>8<EFBFBD>7<EFBFBD>6<EFBFBD>5<EFBFBD>4<EFBFBD>3<EFBFBD>2<EFBFBD>1<EFBFBD>0<EFBFBD> BX (Open
|
||||
Mode)</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> +-------- read/write
|
||||
access mode</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> +-------- reserve (must
|
||||
be 0)</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> <20> <20> +------------ sharing mode</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> <20> +------------ 1 = private, 0 =
|
||||
inheritable</p>
|
||||
|
||||
<p> <20> <20> <20> +-------------------- reserved</p>
|
||||
|
||||
<p> <20> <20> +-------------------- 0 = call INT 24, 1 = ignore INT
|
||||
24</p>
|
||||
|
||||
<p> <20> +-------------------- 0 = normal write, 1 = flush each
|
||||
write</p>
|
||||
|
||||
<p> +-------------------- reserved</p>
|
||||
|
||||
<p> % Read/Write Access bits: Sharing Mode bits:</p>
|
||||
|
||||
<p> % 210 654</p>
|
||||
|
||||
<p> 000 read access 000 compatibility mode</p>
|
||||
|
||||
<p> 001 write access 001 read/write access</p>
|
||||
|
||||
<p> 010 read/write access 010 write access denied</p>
|
||||
|
||||
<p> 011 read access denied</p>
|
||||
|
||||
<p> 100 full access</p>
|
||||
|
||||
<p> % Function Control Indicator in DX:</p>
|
||||
|
||||
<p> <20>F<EFBFBD>E<EFBFBD>D<EFBFBD>C<EFBFBD>B<EFBFBD>A<EFBFBD>9<EFBFBD>8<EFBFBD>7<EFBFBD>6<EFBFBD>5<EFBFBD>4<EFBFBD>3<EFBFBD>2<EFBFBD>1<EFBFBD>0<EFBFBD> DX
|
||||
(Function Control)</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> +---------- file
|
||||
existence behavior</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> <20> +----------------- creation behavior</p>
|
||||
|
||||
<p> +-------------------------------- reserved</p>
|
||||
|
||||
<p> % File Existence Behavior bits:</p>
|
||||
|
||||
<p> % 3210</p>
|
||||
|
||||
<p> 0000 if file exist, generate error, take no action</p>
|
||||
|
||||
<p> 0001 if file exists, open file</p>
|
||||
|
||||
<p> 0010 if file exists, truncate and open</p>
|
||||
|
||||
<p> % Creation Behavior bits:</p>
|
||||
|
||||
<p> % 7654</p>
|
||||
|
||||
<p> 0000 if file does not exist, generate error, take no action</p>
|
||||
|
||||
<p> 0001 if file does not exist, create</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<table border="0" width="100%" cols="3">
|
||||
<tr>
|
||||
<td width="33%">Zur<EFBFBD>ck zum <a href="inte1at0.htm">Interrupt
|
||||
Info</a>. </td>
|
||||
<td align="center" width="33%"><a
|
||||
href="mailto:Roger.Morgan@htl-steyr.ac.at">Roger Morgan</a>
|
||||
/ 1998 </td>
|
||||
<td align="right" width="33%"><font size="1">L.<2E>nderung <!--webbot
|
||||
bot="Timestamp" s-type="EDITED" s-format="%d.%m.%y"
|
||||
startspan -->29.03.99<!--webbot bot="Timestamp" endspan
|
||||
i-checksum="13964" --> </font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user