add directory docs
This commit is contained in:
98
docs/interrupts/int-html0/inte3pf4.htm
Normal file
98
docs/interrupts/int-html0/inte3pf4.htm
Normal file
@@ -0,0 +1,98 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text-html; charset=Windows-1252">
|
||||
<title>INT 33,14 - Swap Interrupt Subroutines</title>
|
||||
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1><a name="kap_interrupt_3350"></a>INT 33,14 - Swap Interrupt
|
||||
Subroutines</h1>
|
||||
|
||||
<p> AX = 14h</p>
|
||||
|
||||
<p> ES:DX = far pointer to user routine</p>
|
||||
|
||||
<p> CX = user interrupt mask:</p>
|
||||
|
||||
<p> <20>F-8<>7<EFBFBD>6<EFBFBD>5<EFBFBD>4<EFBFBD>3<EFBFBD>2<EFBFBD>1<EFBFBD>0<EFBFBD> user interrupt mask in CX</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> <20> +--- cursor position changed</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> <20> +---- left button pressed</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> <20> +----- left button released</p>
|
||||
|
||||
<p> <20> <20> <20> <20> <20> +------ right button pressed</p>
|
||||
|
||||
<p> <20> <20> <20> <20> +------- right button released</p>
|
||||
|
||||
<p> +--------------- unused</p>
|
||||
|
||||
<p> on return:</p>
|
||||
|
||||
<p> CX = previous user interrupt mask</p>
|
||||
|
||||
<p> ES:DX = far pointer to previous user interrupt</p>
|
||||
|
||||
<p> - routine at ES:DX is called if an event occurs and the</p>
|
||||
|
||||
<p> corresponding bit specified in user mask is set</p>
|
||||
|
||||
<p> - routine at ES:DX 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> <20>F-2<>1<EFBFBD>0<EFBFBD></p>
|
||||
|
||||
<p> <20> <20> +--- left button (1 = pressed)</p>
|
||||
|
||||
<p> <20> +---- right button (1 = pressed)</p>
|
||||
|
||||
<p> +------ unused</p>
|
||||
|
||||
<p> - initial call mask and user routine should be restore on
|
||||
exit</p>
|
||||
|
||||
<p> from user program</p>
|
||||
|
||||
<p> - user program may need to set DS to it's own segment</p>
|
||||
|
||||
<p> - see ~INT 33,C~</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