add directory docs
This commit is contained in:
94
docs/interrupts/int-html0/inte2wkw.htm
Normal file
94
docs/interrupts/int-html0/inte2wkw.htm
Normal file
@@ -0,0 +1,94 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text-html; charset=Windows-1252">
|
||||
<title>INT 21,29 - Parse a Filename for FCB</title>
|
||||
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1><a name="kap_interrupt_1830"></a>INT 21,29 - Parse a Filename
|
||||
for FCB</h1>
|
||||
|
||||
<p> AH = 29h</p>
|
||||
|
||||
<p> AL = bit pattern to control parsing (see bit meanings below)</p>
|
||||
|
||||
<p> DS:SI = pointer to a filespec to parse</p>
|
||||
|
||||
<p> ES:DI = pointer to a buffer for unopened ~FCB~</p>
|
||||
|
||||
<p> Bit patterns for parsing control found in AL:</p>
|
||||
|
||||
<p> <20>7<EFBFBD>6<EFBFBD>5<EFBFBD>4<EFBFBD>3<EFBFBD>2<EFBFBD>1<EFBFBD>0<EFBFBD> AL</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> +---- 1 = ignore leading separators</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> 0 = don't ignore leading separators</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> +----- 1 = modify drive ID if specified</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> 0 = modify drive ID regardless</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> +------ 1 = modify filename if specified</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> 0 = modify filename regardless</p>
|
||||
|
||||
<p> <20> <20> <20> <20> +------- 1 = modify extension if specified</p>
|
||||
|
||||
<p> <20> <20> <20> <20> 0 = modify extension regardless</p>
|
||||
|
||||
<p> +-------------- unused</p>
|
||||
|
||||
<p> on return:</p>
|
||||
|
||||
<p> AL = 00 if no wildcard characters present</p>
|
||||
|
||||
<p> = 01 if wildcards present in string</p>
|
||||
|
||||
<p> = FF if drive specifier is invalid</p>
|
||||
|
||||
<p> DS:SI = pointer to the first character after parsed filename</p>
|
||||
|
||||
<p> ES:DI = pointer to the updated unopened FCB</p>
|
||||
|
||||
<p> - retrieves filename from the command line string and places</p>
|
||||
|
||||
<p> the filename components into an unopened FCB for later use</p>
|
||||
|
||||
<p> - if no filename is found a pointer is returned in ES:DI that</p>
|
||||
|
||||
<p> has a blank at ES:DI+1</p>
|
||||
|
||||
<p> - this function can be used to detect the existence of
|
||||
logical DOS</p>
|
||||
|
||||
<p> drives by creating a dummy filespec with a drive letter and
|
||||
colon</p>
|
||||
|
||||
<p> prepended. If the drive is invalid, this function will return
|
||||
FF</p>
|
||||
|
||||
<p> in AL</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