Mail Archives: djgpp/2000/11/30/23:46:25
On Fri, Dec 01, 2000 at 04:12:49AM +0000, sauls wrote:
> I'm trying to hook a handler into the mouse driver, with int
> 0x33 and
> ax = 0x000c. Well, I need to put an address to a far routine
> into
> ES:DX, but I'm not quite sure how to do it. I've gotten as
> far as
> knowing that I need to use
> __dpmi_allocate_real_mode_callback()...
> but that's as far as I can figure. The documentation on
> these functions
> seems to be thin at best.
> Can someone please assist me in this issue, or at least give
> me a
> pointer in the right direction (pun intended)?
grab my editor source code (http://taniwha.org/ed.tar (a collection of .zip
files)) and look at the mouse code in drivers.zip. Infact, ALL the code in
drivers.zip should help you will a lot of the dpmi callback/interrupt stuff
that you will probably be looking for.
Bill
--
Leave others their otherness. -- Aratak
- Raw text -