78 lines
1.9 KiB
HTML
78 lines
1.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Type"
|
|
content="text-html; charset=Windows-1252">
|
|
<title>INT 21,32 - Get Pointer to Drive Parameter Table
|
|
(Undocumented)</title>
|
|
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1><a name="kap_interrupt_1920"></a>INT 21,32 - Get Pointer to
|
|
Drive Parameter Table (Undocumented)</h1>
|
|
|
|
<p> AH = 32h</p>
|
|
|
|
<p> DL = drive (0=default, 1=A:, 2=B:, 3=C:, ...)</p>
|
|
|
|
<p> on return:</p>
|
|
|
|
<p> AL = FF if the drive number in DL was invalid</p>
|
|
|
|
<p> DS:BX = address of drive parameter table (~DPT~)</p>
|
|
|
|
<p> - available since DOS 2.0</p>
|
|
|
|
<p> - used by DOS commands CHKDSK and RECOVER</p>
|
|
|
|
<p> - forces a media check, which clears byte DS:[BX+17h] or
|
|
DS:[BX+18h]</p>
|
|
|
|
<p> in the Drive Parameter Table</p>
|
|
|
|
<p> - actually accesses the disk, causing a critical error if a
|
|
disk</p>
|
|
|
|
<p> error occurs</p>
|
|
|
|
<p> - can be used to determine if a drive is SUBST'ed by
|
|
comparing</p>
|
|
|
|
<p> DS:[BX+1] and DS:[BX] for a match. If not equal, then the</p>
|
|
|
|
<p> drive is possibly SUBST'ed (though not guaranteed, this may
|
|
also</p>
|
|
|
|
<p> indicate a Bernoulli box)</p>
|
|
|
|
<p> - can be used to determine if a drive is a RAM disk; if the
|
|
disk is</p>
|
|
|
|
<p> NOT removable and (DS:[BX+1] == 0), then the disk is a RAM
|
|
disk</p>
|
|
|
|
<p> (see ~IOCTL,0~ bit number 0Bh to determine if the disk is
|
|
removable)</p>
|
|
|
|
<hr>
|
|
|
|
<table border="0" width="100%" cols="3">
|
|
<tr>
|
|
<td width="33%">Zurü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.Ä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>
|