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

64 lines
1.5 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,6 - Direct Console I/O</title>
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
</head>
<body>
<h1><a name="kap_interrupt_1520"></a>INT 21,6 - Direct Console
I/O</h1>
<p> AH = 06</p>
<p> DL = (0-FE) character to output</p>
<p> = FF if console input request</p>
<p> on return:</p>
<p> AL = input character if console input request (DL=FF)</p>
<p> ZF = 0 if console request character available (in AL)</p>
<p> = 1 if no character is ready, and function request</p>
<p> was console input</p>
<p> - reads from or writes to the console device depending on</p>
<p> the value of DL</p>
<p> - cannot output character FF (DL=FF indicates read function)</p>
<p> - for console read, no echo is produced</p>
<p> - returns 0 for extended keystroke, then function must be</p>
<p> called again to return scan code</p>
<p> - ignores Ctrl-Break and Ctrl-PrtSc</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>