add directory docs
This commit is contained in:
100
docs/interrupts/int-html0/inte70q8.htm
Normal file
100
docs/interrupts/int-html0/inte70q8.htm
Normal file
@@ -0,0 +1,100 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text-html; charset=Windows-1252">
|
||||
<title>INT 13,B - Write Long Sectors (XT & newer)</title>
|
||||
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1><a name="kap_interrupt_0510"></a>INT 13,B - Write Long
|
||||
Sectors (XT & newer)</h1>
|
||||
|
||||
<p> AH = 0B</p>
|
||||
|
||||
<p> AL = number of sectors (1-121 dec.)</p>
|
||||
|
||||
<p> CH = track number (0-1023 dec., see below)</p>
|
||||
|
||||
<p> CL = sector number (1-17 dec., see below)</p>
|
||||
|
||||
<p> DH = head number (0-15 dec.)</p>
|
||||
|
||||
<p> DL = fixed drive number (80h=drive 0, 81h=drive 1)</p>
|
||||
|
||||
<p> ES:BX = address of buffer</p>
|
||||
|
||||
<p> on return:</p>
|
||||
|
||||
<p> AL = number of sectors actually transferred</p>
|
||||
|
||||
<p> AH = status (see ~INT 13,STATUS~)</p>
|
||||
|
||||
<p> CF = 0 if successful</p>
|
||||
|
||||
<p> = 1 if error</p>
|
||||
|
||||
<p> - BIOS disk write attempts should reset the controller on
|
||||
error</p>
|
||||
|
||||
<p> - many good programming references indicate this function is
|
||||
only</p>
|
||||
|
||||
<p> available on the AT, PS/2 and later systems, but all hard
|
||||
disk</p>
|
||||
|
||||
<p> systems since the XT have this function available</p>
|
||||
|
||||
<p> - writes regular sectors (128-1024 bytes) with additional 4
|
||||
byte</p>
|
||||
|
||||
<p> ECC code included in data</p>
|
||||
|
||||
<p> - a DMA boundary error will occur if the buffer at ES:BX
|
||||
crosses</p>
|
||||
|
||||
<p> a 64K segment boundary</p>
|
||||
|
||||
<p> - only the disk number is checked for validity</p>
|
||||
|
||||
<p> - the parameters in CX change depending on the number of
|
||||
cylinders;</p>
|
||||
|
||||
<p> the track/cylinder number is a 10 bit value taken from the 2
|
||||
high</p>
|
||||
|
||||
<p> order 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> +-------------- sector number</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> <20> +-------------- high order 2 bits of
|
||||
track number</p>
|
||||
|
||||
<p> +-------------------------- low order 8 bits of track number</p>
|
||||
|
||||
<p> - see ~INT 13,3~</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