Re: mouse int 33 dos app under win xp

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: madhouse (madhouse_at_discussions.microsoft.com)
Date: 08/04/04


Date: Wed, 4 Aug 2004 10:15:02 -0700

Thanks Sten, that'll explain it then!
ce la vie.

The app already handles l & r simultaneous button clicks but users (&me!) find it very difficult to sync the button presses so i did'nt persevere with it. l & r returns value 3, does the ntvdm return that?

Thanks again Sten, I really appreciate your assistance.

"Sten Westerback" wrote:

>
> "madhouse" <madhouse@discussions.microsoft.com> wrote in message
> news:E848527C-55D8-40AC-AD14-2D17ABAC5EC6@microsoft.com...
> > Hi
> > Have old dos app calling int 33 for mouse clicks, int 33 returns values
> 1,2,4 in register bx for left,right,middle buttons.
> > Under win 98 all ok.
> DOS apps run in DOS in that "OS"...
>
> > Under win xp middle button not return.
> Here the NTVDM emulates a DOS session and it has it's own mouse driver
> which supports the basic two button features...
> In fact.. i used by XDIR application to get the emulated hardware's
> information:
> "2 button InPort mouse using IRQ2"
> So as the emulated HW doesn't have but two buttons there is no driver that
> would enable it.
>
> So... at most, if the DOS mouse driver and/or your DOS app supports
> it you might be able to simulate middlebutton by clicking Left and Right
> simultaneously... try it. :)
>
> - Sten
>
>
>



Relevant Pages

  • Re: mouse int 33 dos app under win xp
    ... DOS apps run in DOS in that "OS"... ... Here the NTVDM emulates a DOS session and it has it's own mouse driver ...
    (microsoft.public.win32.programmer.ui)
  • Re: Maybe we should stop "Paging Beth Stone" already...
    ... | PIT because that's what DOS uses, and of course DOS uses it because it had ... Driver development is a story on its own, ... | xor dword ecx, ecx ... | mov dword edx, VGA_PEL_INDEX_READ ...
    (alt.lang.asm)
  • Re: Dos programming
    ... The driver code is what is important. ... there aren't many DOS .sys device drivers with source. ... physical floppy. ... devload doesn't allow _unloading_ a device driver. ...
    (comp.os.msdos.djgpp)
  • Re: Things you forget...
    ... I want to set up running Dos 5 or better (still need to get disk images ... You need a CD-ROM device driver. ... before 1995) the drivers were easy to install, ...
    (comp.sys.ibm.pc.classic)
  • Re: NTP Cheat Sheet
    ... The CDMA engine which is inside both the Ct and your Cntp emulates both the Truetime and Spectracom time strings, ... One benefit to this driver is high resolution capability on the Windows platform, another is not needing to mess with kernels that don't natively support high-resolution 1PPS timetagging. ... I have an EndRun Cntp, bu it has an Ethernet interface. ...
    (comp.protocols.time.ntp)