Mouse Systems mouse support

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

Mouse Systems mouse support

Postby Adomatic » Fri 21 Jul, 2017 7:54 am

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: 545
Joined: Thu 17 Dec, 2015 6:20 pm

Re: Mouse Systems mouse support

Postby omarsis81 » Fri 21 Jul, 2017 10:08 am

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: 8
Joined: Wed 19 Jul, 2017 5:37 pm

Re: Mouse Systems mouse support

Postby Adomatic » Fri 21 Jul, 2017 4:09 pm

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.
SarahWalker
Site Admin
Posts: 1332
Joined: Thu 24 Apr, 2014 4:18 pm

Re: Mouse Systems mouse support

Postby SarahWalker » Fri 21 Jul, 2017 6:35 pm

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

Re: Mouse Systems mouse support

Postby Adomatic » Sat 22 Jul, 2017 5:37 am

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

Re: Mouse Systems mouse support

Postby SarahWalker » Wed 02 Aug, 2017 7:30 pm

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

Re: Mouse Systems mouse support

Postby ndavis82 » Thu 03 Aug, 2017 1:02 am

SarahWalker wrote:Added in rev 830.

Works great.
Adomatic
Posts: 8
Joined: Wed 19 Jul, 2017 5:37 pm

Re: Mouse Systems mouse support

Postby Adomatic » Sun 06 Aug, 2017 3:44 pm

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.
SarahWalker
Site Admin
Posts: 1332
Joined: Thu 24 Apr, 2014 4:18 pm

Re: Mouse Systems mouse support

Postby SarahWalker » Sun 06 Aug, 2017 4:17 pm

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

Postby Battler » Sun 06 Aug, 2017 4:35 pm

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: 8
Joined: Wed 19 Jul, 2017 5:37 pm

Re: Mouse Systems mouse support

Postby Adomatic » Sun 06 Aug, 2017 4:48 pm

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: 435
Joined: Fri 25 Apr, 2014 4:47 pm

Re: Mouse Systems mouse support

Postby leilei » Sun 06 Aug, 2017 8:04 pm

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

Re: Mouse Systems mouse support

Postby Adomatic » Tue 08 Aug, 2017 11:01 pm

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!
SarahWalker
Site Admin
Posts: 1332
Joined: Thu 24 Apr, 2014 4:18 pm

Re: Mouse Systems mouse support

Postby SarahWalker » Wed 09 Aug, 2017 5:18 pm

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

Re: Mouse Systems mouse support

Postby ecksemmess » Sat 12 Aug, 2017 2:22 am

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: 435
Joined: Fri 25 Apr, 2014 4:47 pm

Re: Mouse Systems mouse support

Postby leilei » Sat 12 Aug, 2017 8:15 pm

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: 122
Joined: Wed 18 Mar, 2015 5:27 am

Re: Mouse Systems mouse support

Postby ecksemmess » Mon 14 Aug, 2017 3:18 am

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

Return to “Development”

Who is online

Users browsing this forum: No registered users and 1 guest