Article View: comp.os.msdos.programmer
Article #3627Capturing Mouse Interrupts
From: Douglas R. Nebeker - MIS_SAS
Date: Thu, 12 Nov 1992 23:57
Date: Thu, 12 Nov 1992 23:57
24 lines
1442 bytes
1442 bytes
Help! I am trying to hook the mouse interrupts so that each time the mouse is moved, my routine can be notified. I've tried hooking Int 33h, but found that didn't work since Int 33h is only called to initialize the mouse and/or driver. Int 33h, AX=24h returns the IRQ number and tells me that my mouse is using IRQ 4 (I have comfirmed this with other utilities). However, when I hook IRQ4, the mouse still works great, but my routine is never notified of any mouse movements. When I check those routines that show the owner of the different IRQs, they DON'T show my program (but they DO show my program owning other interrupts that I've hooked in the same way). Now...could it be that everytime I go into a program that uses the mouse that the program itself initializes the mouse, which "unhooks" my process from the interrupt chain? If this is so, how can I keep my mouse routine hooked?!? Thanks in advance for ANY help! ____ Douglas R. Nebeker Internet: $dougn@sasb.byu.edu
Technical Details
Message-ID:
<ua#@byu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!destroyer!sol.ctr.columbia.edu!hamblin.math.byu.edu!news.byu.edu!newsShow Full Headers
Complete Article Headers
Nntp-Posting-Host: dougn.byu.edu Lines: 24 Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!sol.ctr.columbia.edu!hamblin.math.byu.edu!news.byu.edu!news Message-ID: <ua#@byu.edu> Date: Thu, 12 Nov 92 16:57:19 MST Newsgroups: comp.os.msdos.programmer From: $dougn@sasb.byu.edu (Douglas R. Nebeker - MIS_SAS) Subject: Capturing Mouse Interrupts Keywords: mouse capture interrupt IRQ Organization: Brigham Young University