add directory docs
This commit is contained in:
87
docs/interrupts/int-html0/inte2zxs.htm
Normal file
87
docs/interrupts/int-html0/inte2zxs.htm
Normal file
@@ -0,0 +1,87 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text-html; charset=Windows-1252">
|
||||
<title>INT 21,37 - Get/Set Switch Character (Undocumented, DOS 2.</title>
|
||||
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1><a name="kap_interrupt_1970"></a>INT 21,37 - Get/Set Switch
|
||||
Character (Undocumented, DOS 2.0+)</h1>
|
||||
|
||||
<p> AH = 37h</p>
|
||||
|
||||
<p> AL = 0 get switch character into DL; some systems return
|
||||
"-"</p>
|
||||
|
||||
<p> = 1 set switch character to value in DL</p>
|
||||
|
||||
<p> = 2 read device prefix flag into DL; returns DL = 0
|
||||
indicating</p>
|
||||
|
||||
<p> devices must be accessed using /DEV/device. A non-zero value</p>
|
||||
|
||||
<p> indicates devices may be accessed without prefix</p>
|
||||
|
||||
<p> = 3 set device prefix flag, device names must begin with
|
||||
\DEV\.</p>
|
||||
|
||||
<p> DL = new switch character (AL=1)</p>
|
||||
|
||||
<p> = 00 \DEV\ must preceed device names (AL=3)</p>
|
||||
|
||||
<p> = 01 \DEV\ is not neccesary in device names (AL=3)</p>
|
||||
|
||||
<p> on return:</p>
|
||||
|
||||
<p> AL = FF illegal subfunction code specified</p>
|
||||
|
||||
<p> DL = current switch character (AL=0)</p>
|
||||
|
||||
<p> = device availability (AL=2, always FF with DOS 4.x+)</p>
|
||||
|
||||
<p> - subfunctions 0 and 1 were formerly available as a
|
||||
CONFIG.SYS</p>
|
||||
|
||||
<p> command in DOS versions before 3.x; also supportedin the OS/2</p>
|
||||
|
||||
<p> compatibility box</p>
|
||||
|
||||
<p> - subfunctions 2 and 3 were available in DOS 2.x only; they
|
||||
have</p>
|
||||
|
||||
<p> no effect in DOS 4.x+</p>
|
||||
|
||||
<p> - /DEV/ prefix is valid in DOS 2.x by default, setting the
|
||||
flag makes</p>
|
||||
|
||||
<p> it mandatory. DOS internal commands like DIR, TYPE and DEL do
|
||||
not</p>
|
||||
|
||||
<p> recognize filenames the are identical to device names
|
||||
regardless of</p>
|
||||
|
||||
<p> the setting of the AVAILDEV flag.</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