Date: Thu, 30 Nov 2000 21:41:31 -0700 From: Bill Currie To: djgpp AT delorie DOT com Subject: Re: Protected Mode Callbacks Message-ID: <20001130214131.B26319@taniwha.org> Mail-Followup-To: djgpp AT delorie DOT com References: <3a2733aa DOT 4842 DOT 269167349 AT subdimension DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <3a2733aa.4842.269167349@subdimension.com>; from sauls@subdimension.nospam.com on Fri, Dec 01, 2000 at 04:12:49AM +0000 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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