Files
oldlinux-files/docs/interrupts/int-html0/inte6xyy.htm
2024-02-19 00:23:35 -05:00

62 lines
1.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252">
<title>INT 13,9 - Initialize Fixed Disk Table (XT &amp; newer)</title>
</HEAD>
<BODY BGCOLOR=#FFFFFF TEXT=#000000>
<p>
<h1>INT 13,9 - Initialize Fixed Disk Table (XT &amp; newer)</h1>
<p>
&#09;AH = 09</p>
<p>
&#09;DL = fixed disk number&#09;(80h=drive 0, 81h=drive 1)</p>
<p>
&#09;on return:</p>
<p>
&#09;AH = status (see ~INT 13,STATUS~)</p>
<p>
&#09;CF = 0 if successful</p>
<p>
&#09; = 1 if error</p>
<p>
&#09;- sets specified fixed disk table to the default values from ROM</p>
<p>
&#09;- many good programming references indicate this function is only</p>
<p>
&#09; available on the AT, PS/2 and later systems, but all hard disk</p>
<p>
&#09; systems since the XT have this function available</p>
<p>
&#09;- INT 41h vector is pointer to table for drive 0</p>
<p>
&#09;- INT 46h vector is pointer to table for drive 1</p>
<p>
<b>Table&#09;definitions located by interrupt vectors 41H &amp; 46H</b></p>
<p>
&#09;Offset Size&#09; Description</p>
<p>
&#09; 00 word maximum number of cylinders</p>
<p>
&#09; 02 byte maximum number of heads</p>
<p>
&#09; 03 word starting reduced write current cylinder</p>
<p>
&#09; 05 word starting write pre-comp cylinder</p>
<p>
&#09; 07 byte maximum ECC data burst length</p>
<p>
&#09; 08 byte control byte:</p>
<p>
&#09;&#09;????????? Control byte</p>
<p>
&#09;&#09; ?????+-------- drive option</p>
<p>
&#09;&#09; ??+------------- always zero</p>
<p>
&#09;&#09; ?+-------------- disable ECC retries</p>
<p>
&#09;&#09; +--------------- disable access retires</p>
</BODY>
</HTML>