To: DJGPP List Subject: Re: Mouse under DPMI ? Reply-To: pgf AT Cayman DOT COM Date: Mon, 28 Feb 94 10:20:39 EST From: Paul Fox > > How can I use mouse under DPMI ? I know that edx must be set to 0x12345678 > > and pass real mode call back function to Event installer. But my computer > > hangs when I move mouse. > > I have a very early version of the 32 bit event code that Csaba and I put > together when putting V1.11 together. It's a bit rough around the edges, > and doesn't allow you to access the event queue directly, but it does > work under most DPMI providers (a few are buggy and don't work, most > notably OS/2 2.0 (2.1 is fine) and NT). uh oh. i'm about to ask a newbie question. :-) i've just been trying to use the mouse under go32/dpmi, and it wasn't working. these two messages imply that i'm probably going to have do a lot more to make it work than i thought. i was using the "allocate_retf_wrapper" thingamajig to encapsulate my mouse handler, and handing the real-mode function pointer i obtain that way to the mouse handler installation trap. this seems to get my handler called, but then i crash in a call i make to "show mouse cursor", using dpmi_simulate_int(). (i know i've been loose with routine names in this message -- i think if you've been here, you'll know what i'm talking about...) is there more magic dust i need to sprinkle over the mouse code? paul p.s. and hey, what about those newsgroups? good idea? :-) (don't answer that. ;-)