85 lines
2.0 KiB
HTML
85 lines
2.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Type"
|
|
content="text-html; charset=Windows-1252">
|
|
<title>INT 16,12 - Extended Get Keyboard Status (AT+)</title>
|
|
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1><a name="kap_interrupt_1170"></a>INT 16,12 - Extended Get
|
|
Keyboard Status (AT+)</h1>
|
|
|
|
<p> AH = 12h</p>
|
|
|
|
<p> on return:</p>
|
|
|
|
<p> AH = BIOS keyboard flags (~BIOS Data Area~ location 40:18)</p>
|
|
|
|
<p> ¦7¦6¦5¦4¦3¦2¦1¦0¦ AH</p>
|
|
|
|
<p> ¦ ¦ ¦ ¦ ¦ ¦ ¦ +---- left CTRL key depressed</p>
|
|
|
|
<p> ¦ ¦ ¦ ¦ ¦ ¦ +----- left ALT key depressed</p>
|
|
|
|
<p> ¦ ¦ ¦ ¦ ¦ +------ right CTRL key pressed</p>
|
|
|
|
<p> ¦ ¦ ¦ ¦ +------- right ALT key depressed</p>
|
|
|
|
<p> ¦ ¦ ¦ +-------- scroll-lock depressed</p>
|
|
|
|
<p> ¦ ¦ +--------- num-lock key depressed</p>
|
|
|
|
<p> ¦ +---------- caps-lock key depressed</p>
|
|
|
|
<p> +----------- system request key depressed</p>
|
|
|
|
<p> AL = BIOS keyboard flags (BIOS Data Area location 40:17)</p>
|
|
|
|
<p> ¦7¦6¦5¦4¦3¦2¦1¦0¦ AL</p>
|
|
|
|
<p> ¦ ¦ ¦ ¦ ¦ ¦ ¦ +---- right shift key depressed</p>
|
|
|
|
<p> ¦ ¦ ¦ ¦ ¦ ¦ +----- left shift key depressed</p>
|
|
|
|
<p> ¦ ¦ ¦ ¦ ¦ +------ CTRL key depressed</p>
|
|
|
|
<p> ¦ ¦ ¦ ¦ +------- ALT key depressed</p>
|
|
|
|
<p> ¦ ¦ ¦ +-------- scroll-lock is active</p>
|
|
|
|
<p> ¦ ¦ +--------- num-lock is active</p>
|
|
|
|
<p> ¦ +---------- caps-lock is active</p>
|
|
|
|
<p> +----------- insert is active</p>
|
|
|
|
<p> - available on AT and PS/2 machines with extended keyboard
|
|
support</p>
|
|
|
|
<p> - similar to ~INT 16,2~</p>
|
|
|
|
<p> - see ~KB FLAGS~</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>
|