93 lines
2.1 KiB
HTML
93 lines
2.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Type"
|
|
content="text-html; charset=Windows-1252">
|
|
<title>INT 33,18 - Set alternate subroutine call mask and address</title>
|
|
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1><a name="kap_interrupt_3390"></a>INT 33,18 - Set alternate
|
|
subroutine call mask and address</h1>
|
|
|
|
<p> AX = 18h</p>
|
|
|
|
<p> DX = offset to function</p>
|
|
|
|
<p> CX = user interrupt mask:</p>
|
|
|
|
<p> ¦F-8¦7¦6¦5¦4¦3¦2¦1¦0¦ user interrupt mask in CX</p>
|
|
|
|
<p> ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ +--- alt key pressed during event</p>
|
|
|
|
<p> ¦ ¦ ¦ ¦ ¦ ¦ ¦ +---- ctrl key pressed during event</p>
|
|
|
|
<p> ¦ ¦ ¦ ¦ ¦ ¦ +----- shift key pressed during event</p>
|
|
|
|
<p> ¦ ¦ ¦ ¦ ¦ +------ right button up event</p>
|
|
|
|
<p> ¦ ¦ ¦ ¦ +------- right button down event</p>
|
|
|
|
<p> ¦ ¦ ¦ +-------- left button up event</p>
|
|
|
|
<p> ¦ ¦ +--------- left button down event</p>
|
|
|
|
<p> ¦ +---------- cursor moved</p>
|
|
|
|
<p> +------------ unused</p>
|
|
|
|
<p> - entire mask is set to zero when ~INT 33,0~ is called</p>
|
|
|
|
<p> - up to three handlers may be defined with this call</p>
|
|
|
|
<p> - mask should be cleared before program exit</p>
|
|
|
|
<p> - when handler is called it receives parameters in the
|
|
following</p>
|
|
|
|
<p> registers:</p>
|
|
|
|
<p> AX = condition mask causing call</p>
|
|
|
|
<p> CX = horizontal cursor position</p>
|
|
|
|
<p> DX = vertical cursor position</p>
|
|
|
|
<p> DI = horizontal counts</p>
|
|
|
|
<p> SI = vertical counts</p>
|
|
|
|
<p> DS = mouse driver data segment</p>
|
|
|
|
<p> BX = button state:</p>
|
|
|
|
<p> ¦F-2¦1¦0¦</p>
|
|
|
|
<p> ¦ ¦ +--- left button (1 = pressed)</p>
|
|
|
|
<p> ¦ +---- right button (1 = pressed)</p>
|
|
|
|
<p> +------ unused</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>
|