Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOS mouse.com implementations broken #15

Open
NattyNarwhal opened this issue Nov 27, 2021 · 2 comments
Open

DOS mouse.com implementations broken #15

NattyNarwhal opened this issue Nov 27, 2021 · 2 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@NattyNarwhal
Copy link
Owner

When we enable absolute positioning, it hoses the PS/2 relative packets coming out, because you need to check the VMware backdoor instead. This means that a DOS program will just get an endless stream of moving the mouse to the bottom right as the mouse moves. (This is the same behaviour I saw in Windows when I got the absolute positioning mode working but didn't change the interrupt handler yet.)

I can reproduce this running CuteMouse before starting Windows, along with its mousetst.com. (Windows doesn't seem to bother using the mouse.com implementation itself.)

There are two solutions I'm guessing:

  1. Implement a VMD that switches it to relative when entering a full-screen DOS application and back to absolute when exiting full-screen DOS. Would solve VMD for enhanced mode #3.
  2. Implement a VMware absolute mouse.com. I believe the mouse API actually deals with absolute mice and relative mice are implemented on top of this, but it's based on pixel coordinates IIRC. Something else entirely, and also arguably a useful project.

Not sure what I'd implement.

@NattyNarwhal NattyNarwhal added bug Something isn't working enhancement New feature or request labels Nov 27, 2021
@t9999clint
Copy link

touch screens and stylus inputs did exist for ms-dos. They were just not very widely used.
It's definately possible, but I doubt it'd be simple

@NattyNarwhal
Copy link
Owner Author

FWIW: I think if I'm reading the VMD source correctly, I think it may be possible to implement a 33h provider entirely from it, instead of deferring to an installed one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants