62 lines
1.7 KiB
HTML
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 & newer)</title>
|
|
</HEAD>
|
|
<BODY BGCOLOR=#FFFFFF TEXT=#000000>
|
|
<p>
|
|
<h1>INT 13,9 - Initialize Fixed Disk Table (XT & newer)</h1>
|
|
<p>
|
|
	AH = 09</p>
|
|
<p>
|
|
	DL = fixed disk number	(80h=drive 0, 81h=drive 1)</p>
|
|
<p>
|
|
	on return:</p>
|
|
<p>
|
|
	AH = status (see ~INT 13,STATUS~)</p>
|
|
<p>
|
|
	CF = 0 if successful</p>
|
|
<p>
|
|
	 = 1 if error</p>
|
|
<p>
|
|
	- sets specified fixed disk table to the default values from ROM</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>
|
|
	- INT 41h vector is pointer to table for drive 0</p>
|
|
<p>
|
|
	- INT 46h vector is pointer to table for drive 1</p>
|
|
<p>
|
|
<b>Table	definitions located by interrupt vectors 41H & 46H</b></p>
|
|
<p>
|
|
	Offset Size	 Description</p>
|
|
<p>
|
|
	 00 word maximum number of cylinders</p>
|
|
<p>
|
|
	 02 byte maximum number of heads</p>
|
|
<p>
|
|
	 03 word starting reduced write current cylinder</p>
|
|
<p>
|
|
	 05 word starting write pre-comp cylinder</p>
|
|
<p>
|
|
	 07 byte maximum ECC data burst length</p>
|
|
<p>
|
|
	 08 byte control byte:</p>
|
|
<p>
|
|
		????????? Control byte</p>
|
|
<p>
|
|
		 ?????+-------- drive option</p>
|
|
<p>
|
|
		 ??+------------- always zero</p>
|
|
<p>
|
|
		 ?+-------------- disable ECC retries</p>
|
|
<p>
|
|
		 +--------------- disable access retires</p>
|
|
</BODY>
|
|
</HTML>
|