60 lines
1.5 KiB
HTML
60 lines
1.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Type"
|
|
content="text-html; charset=Windows-1252">
|
|
<title>INT 21,F - Open a File Using FCB</title>
|
|
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1><a name="kap_interrupt_1610"></a>INT 21,F - Open a File Using
|
|
FCB</h1>
|
|
|
|
<p> AH = 0F</p>
|
|
|
|
<p> DS:DX = pointer to unopened ~FCB~</p>
|
|
|
|
<p> on return:</p>
|
|
|
|
<p> AL = 00 if file opened</p>
|
|
|
|
<p> = FF if unable to open</p>
|
|
|
|
<p> - opens an existing file using a previously setup FCB</p>
|
|
|
|
<p> - the FCB fields drive identifier, filename and extension</p>
|
|
|
|
<p> must be filled in before call</p>
|
|
|
|
<p> - sets default FCB fields; current block number is set to 0;</p>
|
|
|
|
<p> record size is set to 80h; file size, date and time are set</p>
|
|
|
|
<p> to the values from the directory</p>
|
|
|
|
<p> - does not create file, see ~INT 21,16~</p>
|
|
|
|
<p> - DOS 2.x allows opening of subdirectories, DOS 3.x does not</p>
|
|
|
|
<hr>
|
|
|
|
<table border="0" width="100%" cols="3">
|
|
<tr>
|
|
<td width="33%">Zurü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.Ä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>
|