Mouse Systems mouse support

Discussion of development and patch submission.
Post Reply
Adomatic
Posts: 10
Joined: Wed 19 Jul, 2017 5:37 pm

Mouse Systems mouse support

Post by Adomatic »

If I may ask, I wondered if there were any plans to add Mouse Systems mouse (especially for old PC/XT/AT). There is some old software, including the famous Visi On, that doesn't work with Microsoft compatible mouse. While I can launch this on a couple of other emulators, I'd still prefer to use PCem, so I'd be really glad if this was going to be implemented any time in the future. I even managed to find some source code for emulating Mouse Systems protocol, but I'm no developer, so I couldn't possibly add it to the PCem source files properly and recompile it without messing everything up.
User avatar
omarsis81
Posts: 945
Joined: Thu 17 Dec, 2015 6:20 pm

Re: Mouse Systems mouse support

Post by omarsis81 »

Just a thought: did you try a Genius driver for the current emulated mice to see if they are compatible with Mouse System's? Because a Genius related branded acquired Mouse System and maybe they gave backward compatibility
Adomatic
Posts: 10
Joined: Wed 19 Jul, 2017 5:37 pm

Re: Mouse Systems mouse support

Post by Adomatic »

I tried to install several versions of several drivers, including Genius (and CuteMouse from the links on this website), however, it always resulted in one of the two outcomes: either I wasn't able to move the mouse cursor at all, or I was able to move it everywhere except Visi On.
User avatar
SarahWalker
Site Admin
Posts: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

Re: Mouse Systems mouse support

Post by SarahWalker »

Should be fairly straightforward. I'll add it to my list.
Adomatic
Posts: 10
Joined: Wed 19 Jul, 2017 5:37 pm

Re: Mouse Systems mouse support

Post by Adomatic »

This is great news, thank you.
User avatar
SarahWalker
Site Admin
Posts: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

Re: Mouse Systems mouse support

Post by SarahWalker »

Added in rev 830.
ndavis82
Posts: 47
Joined: Sun 25 Dec, 2016 5:54 am

Re: Mouse Systems mouse support

Post by ndavis82 »

SarahWalker wrote:Added in rev 830.
Works great.
Adomatic
Posts: 10
Joined: Wed 19 Jul, 2017 5:37 pm

Re: Mouse Systems mouse support

Post by Adomatic »

Now that is really strange... it really works in Norton Commander after installing the driver, but it doesn't work in Windows, and it doesn't work in Visi On as well... It also cannot be selected for IBM XT (just keeps reverting to Microsoft mouse).
I have checked it in Windows 1.0, 2.0 and 3.11, and the cursor does not move (in fact, it does not even appear). Trying to open Windows 3.11 Control Panel to check mouse and port settings resulted in a hang-up when trying to load MMSYSTEM.DLL (the file name was shown in the status line). Reverting to Microsoft mouse solved the hang-up.
User avatar
SarahWalker
Site Admin
Posts: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

Re: Mouse Systems mouse support

Post by SarahWalker »

Definitely worked in Windows 3.11 for me. Stupid question - did you remember to change mouse type to Mouse Systems in Windows setup?
Battler
Posts: 793
Joined: Sun 06 Jul, 2014 7:05 pm

Re: Mouse Systems mouse support

Post by Battler »

For the Mouse Systems serial mouse to work in VisiOn, you need to remove this in the poller:

Code: Select all

        if (!(serial->ier & 1))
                return;
Adomatic
Posts: 10
Joined: Wed 19 Jul, 2017 5:37 pm

Re: Mouse Systems mouse support

Post by Adomatic »

Definitely worked in Windows 3.11 for me. Stupid question - did you remember to change mouse type to Mouse Systems in Windows setup?
I did that, but I looked more closely once again and I realized that I accidentally selected "Mouse Systems on COM2". After I changed that to "Mouse systems bus/serial", it worked in Windows 3.11 (choosing Control Panel in the same window still resulted in a crash, though... don't know why mmsystem.dll doesn't like it).
For the Mouse Systems serial mouse to work in VisiOn, you need to remove this in the poller:
I cannot really judge, but maybe this will enable it in Windows 2.0 and 1.0 as well (they don't have their own mouse type choice menu).
User avatar
leilei
Posts: 1039
Joined: Fri 25 Apr, 2014 4:47 pm

Re: Mouse Systems mouse support

Post by leilei »

Works here.
Attachments
mscmouse.jpg
mscmouse.jpg (50.39 KiB) Viewed 14447 times
Adomatic
Posts: 10
Joined: Wed 19 Jul, 2017 5:37 pm

Re: Mouse Systems mouse support

Post by Adomatic »

Hmm... I guess it might be some configuration issue on my side then.
For the Mouse Systems serial mouse to work in VisiOn, you need to remove this in the poller:
That has worked indeed, thank you!
User avatar
SarahWalker
Site Admin
Posts: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

Re: Mouse Systems mouse support

Post by SarahWalker »

Fixed in rev 839.
ecksemmess
Posts: 183
Joined: Wed 18 Mar, 2015 5:27 am

Re: Mouse Systems mouse support

Post by ecksemmess »

leilei wrote:Works here.
Nice-looking screenshot, leilei. What shader settings are those? Have you applied anything other than the curvature?
User avatar
leilei
Posts: 1039
Joined: Fri 25 Apr, 2014 4:47 pm

Re: Mouse Systems mouse support

Post by leilei »

A hastily done VGA signal loss shader I haven't uploaded yet + tweaked CRT Easymode which drops scanlines if the guestresolution/windows size difference is too small (to avoid moire)
ecksemmess
Posts: 183
Joined: Wed 18 Mar, 2015 5:27 am

Re: Mouse Systems mouse support

Post by ecksemmess »

Sounds about right. Something like that would be great to have in mainline PCem.
Post Reply