Date: Mon, 29 Dec 1997 10:10:36 +0200 (IST) From: Eli Zaretskii To: Ludvig Larsson cc: djgpp AT delorie DOT com Subject: Re: Hook up mouse int. to function In-Reply-To: <34A45845.EF8@club-internet.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sat, 27 Dec 1997, Ludvig Larsson wrote: > How do I hook up the mouse interrupt to one of > my functions? > I know that I have to use interrupt 33 with > subfunc ax=0014, cx=call mask and so on > But how do I do it? > A piece of code would be greatly apreciated. Download the DJGPP FAQ list (v2/faq210b.zip from the same place you get DJGPP) and read section 18.8 there. It explains this issue and includes an example that is exactly what you are looking for.