add directory docs

This commit is contained in:
gohigh
2024-02-19 00:23:35 -05:00
parent b50063d9b3
commit 9912ec445d
12689 changed files with 3135349 additions and 0 deletions

View File

@@ -0,0 +1,83 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<meta http-equiv="Content-Type"
content="text-html; charset=Windows-1252">
<title>INT 13,18 - Set Media Type for Format (BIOS date specific)</title>
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
</head>
<body>
<h1><a name="kap_interrupt_0640"></a>INT 13,18 - Set Media Type
for Format (BIOS date specific)</h1>
<p> AH = 18h</p>
<p> CH = lower 8 bits of number of tracks (0-1023 dec., see
below)</p>
<p> CL = sectors per track (1-17 dec., see below)</p>
<p> DL = drive number (0=A:, 1=2nd floppy, 80h=drive 0, 81h=drive
1)</p>
<p> on return:</p>
<p> ES:DI = pointer to 11-byte ~Disk Base Table~ (DBT)</p>
<p> AH = 00h if requested combination supported</p>
<p> = 01h if function not available</p>
<p> = 0Ch if not supported or drive type unknown</p>
<p> = 80h if there is no media in the drive</p>
<p> CF = 0 if successful</p>
<p> = 1 if error</p>
<p> - valid only for XT BIOS dated after 1/10/86, AT after
11/15/86,</p>
<p> XT 286 and the PS/2 line</p>
<p> - only disk number is checked for validity</p>
<p> - track number is a 10 bit value taken from the 2 high order</p>
<p> bits of CL and the 8 bits in CH (low order 8 bits of track):</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> CX</p>
<p> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> +-------------- sectors per
track count</p>
<p> <20> <20> <20> <20> <20> <20> <20> <20> +-------------- high order 2 bits
track/cyl count</p>
<p> +-------------------------- low order 8 bits of track/cyl
count</p>
<p> - see ~INT 13,STATUS~</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>