add directory docs
This commit is contained in:
116
docs/interrupts/int-html0/inte7wmo.htm
Normal file
116
docs/interrupts/int-html0/inte7wmo.htm
Normal file
@@ -0,0 +1,116 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text-html; charset=Windows-1252">
|
||||
<title>INT 21,44,0 / IOCTL,0 - Get Device Information</title>
|
||||
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1><a name="kap_interrupt_2110"></a>INT 21,44,0 / IOCTL,0 - Get
|
||||
Device Information</h1>
|
||||
|
||||
<p> AH = 44h</p>
|
||||
|
||||
<p> AL = 00</p>
|
||||
|
||||
<p> BX = handle (must be an opened device)</p>
|
||||
|
||||
<p> on return</p>
|
||||
|
||||
<p> AX = error code if CF set (see ~DOS ERROR CODES~)</p>
|
||||
|
||||
<p> DX = device information (see tables below)</p>
|
||||
|
||||
<p> <20>F<EFBFBD>E<EFBFBD>D<EFBFBD>C<EFBFBD>B<EFBFBD>A-8<>7<EFBFBD>6<EFBFBD>5-0<> DX Block Device Information</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> <20> +----- drive number (0=A:,1=B:)</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> +------- 0 = file has been written</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> +-------- 0 = disk file; 1 = character
|
||||
device</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> +---------- reserved, must be zero</p>
|
||||
|
||||
<p> <20> <20> <20> <20> +------------ 1 = media not removable</p>
|
||||
|
||||
<p> <20> <20> <20> +------------- 1 = network device (DOS 3.x+)</p>
|
||||
|
||||
<p> <20> <20> +-------------- 1 = reserved</p>
|
||||
|
||||
<p> <20> +--------------- 1 = don't update file time or date (DOS
|
||||
4.x+)</p>
|
||||
|
||||
<p> +---------------- 1 = file is remote (DOS 3.x+)</p>
|
||||
|
||||
<p> <20>F<EFBFBD>E<EFBFBD>D<EFBFBD>C<EFBFBD>B<EFBFBD>A-8<>7<EFBFBD>6<EFBFBD>5<EFBFBD>4<EFBFBD>3<EFBFBD>2<EFBFBD>1<EFBFBD>0<EFBFBD> DX Character
|
||||
Device Information</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> +---- 1 = standard
|
||||
input device</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> +---- 1 = standard output
|
||||
device</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> +---- 1 = NUL device</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> +---- 1 = clock device</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> <20> <20> +---- uses DOS ~INT 29~ for fast
|
||||
character output</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> <20> +---- 1 = binary mode, 0 = translated</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> +---- 0 = end of file on input</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> +---- 1 = character device, 0 if disk file</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> +----- reserved</p>
|
||||
|
||||
<p> <20> <20> <20> <20> +------ 1 = media not removable</p>
|
||||
|
||||
<p> <20> <20> <20> +------ 1 = network device (DOS 3.x+)</p>
|
||||
|
||||
<p> <20> <20> +------ reserved</p>
|
||||
|
||||
<p> <20> +------ 1 = supports IOCTL, via functions 2 & 3</p>
|
||||
|
||||
<p> +------ reserved</p>
|
||||
|
||||
<p> - BIT 7 of register DX can be used to detect if STDIN/STDOUT
|
||||
is</p>
|
||||
|
||||
<p> redirected to/from disk; if a call to this function has DX
|
||||
BIT 7</p>
|
||||
|
||||
<p> set it's not redirected from/to disk; if it's clear then it
|
||||
is</p>
|
||||
|
||||
<p> redirected to/from disk</p>
|
||||
|
||||
<p> - BIT B of register DX can be used to determine if a drive is</p>
|
||||
|
||||
<p> removable.</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