Mail Archives: djgpp/1996/08/19/14:00:29
Xref: | news2.mv.net comp.os.msdos.djgpp:7636
|
From: | brucef AT central DOT co DOT nz (Bruce Foley)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Mouse woes
|
Date: | Mon, 19 Aug 1996 09:48:54 GMT
|
Organization: | Internet Company of New Zealand
|
Lines: | 16
|
Message-ID: | <4v9gbm$b8h@status.gen.nz>
|
NNTP-Posting-Host: | brucef.central.co.nz
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hi. I would like to use the callback function for interrupt 33, which
allows you to install a routine that is called whenever an
"asyncronous" event occurs (via the mouse driver). However, how can I
do this from a DPMI program? Since the system will be in real mode at
the time of the interrupt, it cannot call my protected mode routine.
I know I could just poll int 33 directly from my program (using
standard real to dpmi reflection), but this seems like a waste, given
most of the time it won't be returning anything useful...
Regards,
Bruce.
- Raw text -