A paralyzed mouse

Started by nikoniko, March 16, 2007, 07:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nikoniko

Can anyone here confirm that 1351 Mouse Emulation works properly in WinVICE 1.20 or 1.21? The only thing it detects on my machine are mouse clicks, and movement registers nothing. I know it used to work for me, but it's possible it was an older version like 1.19.

Stephane Richard

i've used GEOS128 on vice 1.20...I haven't tried it yet in 1.21 but there's no reason to believe it wouldn't work...ir did I use the joystick instead of he mouse? hmmm...lol
When God created light, so too was born, the first Shadow!

MystikShadows

hydrophilic

I just tested it with GEOS and I had the opposite problem: mouse moved the pointer but clicks didn't work.

The solution: disable joystick in port 1

Hope that works for you too.

FYI, that was with Windows VICE.  Another problem I experienced was with DOS VICE.  It locked up my machine until I disobeyed the readme which says to first run a DPMI server.  It seems the DOS version now includes a DPMI server, so having one running causes a deadlock.

Stephane Richard

up, it solved it perfectly.  thanks for the tip :-)

I am also using WinVICE .  I didn't run the dos version in a while...back them, I didn't have GEOS to run it on.  So I didn't do much mouse using :-)
When God created light, so too was born, the first Shadow!

MystikShadows

nikoniko

Thanks. I forgot to mention that I already tried disabling joystick 1 with no luck. Well, at least I know that it works for other people. I'll have to try DOS or Linux and see how that goes. Thanks for the tip about running DOS VICE.

hydrophilic

Are you trying to use the mouse with GEOS?  If so, be sure the 1351 (not 'joystick' or '1351a') is selected as your input device in GEOS.

If not using GEOS, beware that the mouse is only emulated on port#1 (why?) so it won't work if your app uses port#2.

Good luck!

nikoniko

I'm trying to use it with my own programming, but GEOS doesn't like it either regardless of what I set it to.

Do I need to be reading some address in addition to $DC01? All I get from it is $EF for left-click, $FE for right, $EE for both. Movement doesn't register.

EDIT: Ah, finally found the answer. I've only ever programmed for the 1350 before, which only had joystick mode as far as I know, and it sounds like VICE defaults to proportional mode, for which I need to be reading the SID POTX and POTY registers. I didn't even know the 1351 had a proportional mode. :rodna: Still doesn't explain why GEOS didn't work for me, but at least it sets me on the right track programming-wise.