| |
TWW
Registered: Jul 2009 Posts: 545 |
Mouse driver
right. I had one of these made a while ago but now i wanted to implement it in my "universal joy/mouse/keyb-routine".
to my great horror I discover that CCS64 and Vice handles mouse emulation differently.
VICE: Bits 1->6 (which I believe it should be)
CCS64: Bits 2->7
WTF? |
|
... 12 posts hidden. Click here to view all posts.... |
| |
Krill
Registered: Apr 2002 Posts: 2980 |
What's so WTF about a mere emulator bug concerning a rarely-used feature? |
| |
TWW
Registered: Jul 2009 Posts: 545 |
It ain't so rarely used and it ain't half as used as it should be!
A lot of SW could benefit gratly from this now when more and more users uses emmulators instead of real HW due to availability.
However if it only works in some places it will remain unused.... |
| |
null Account closed
Registered: Jun 2006 Posts: 645 |
Do people actually still use CCS64? I thought most people ditched it in favour of Vice/Hoxs by now.
------------------------------------
http://zomgwtfbbq.info |
| |
Mr. SID
Registered: Jan 2003 Posts: 424 |
So CCS64 is close to being outdated? ;)
Seriously, some people are still using Frodo. What gives? |
| |
AlexC
Registered: Jan 2008 Posts: 299 |
If you use GEOS mouse emulation isn't something you can't benefit from. Other than that I seem to remember some gfx tools using mouse but can't find their names right now (wasn't Art Studio one of them?). Anyway this is a feature some users use often. |
| |
TWW
Registered: Jul 2009 Posts: 545 |
Actually the last version of CCS64 is V3.8 and is dated 8'th of march 2010.
So I don't think it's terribly outdated... |
| |
enthusi
Registered: May 2004 Posts: 677 |
ManiacMansion Gold \o/ *ehem....* supports mouse and it was hell to implement since the vice 'back then' had very bad mouse support. I think its still quite different from a real 1351...
Though I hear things change... |
| |
TWW
Registered: Jul 2009 Posts: 545 |
I have tested the standard c1351 emulation on both VICE and CCS64 using the standard Commodore Mouse Driver and it works like a charm on both with the exception of the fucked up ASL of the bits on CCS64.
I have also tested an enhanced version of the driver containing self calibration (but still based on the C= driver) and it also rocks. |
| |
andym00
Registered: Jun 2009 Posts: 45 |
Regarding the mention of changing mouse speeds and stuff, I'm running Windows7 64bit, Vice2.3 I've been through every speed setting and can't get a stable mouse for the life of me..
Is there a solution to the mouse stuff in any of the Vice builds for Windows ?
I've tried TWW's test program here and I get much the same results as my own attempts at trying to read the mouse, ie: it doesn't work very well under Vice..
All I can get from Vice when running 1351 emulation is move the mouse, it sort of works, then everything settles down when I stop, then a few frames later, pop, it'll jump with no mouse input more often than not.. Plus symptoms of wrapping happening as well on sustained movements.. TWW's test program seems to exhibit the same kind of symptoms..
Frustrating me no end as I suddenly found the impetus to add a load of editing stuff to the SuperSaw stuff, and then boom mouse emulation appears rogered..
Is there a solution for this ? And no, Linux isn't an option ;)
|
| |
soci
Registered: Sep 2003 Posts: 480 |
I've did a mouse emulation update on VICE post 2.3 (around Apr.2012). Actually the Linux version was more broken as far as I could see from the code, I couldn't draw a non-jagged diagonal line unless moving super slow.
As for the TWW test program. It's loosing movement accuracy due to aggressive filtering of slow movements of +/-1. This is clearly visible when the real mouse pointer is not hidden for reference. Sure a +/-1 movement should be ignored because of measurement accuracy, however it does not mean that several +1 movements should be all be ignored in a row just like nothing happened...
Also if I move the mouse fast in a small area this driver is prone to jump around huge distances for some reason (incorrect wraparound handling?). This does not happen with another driver, where the movement is correctly followed even on huge distances when the wrap around is guaranteed.
If your mouse driver jumps around even if the mouse itself is not moved, I would better check if the keyboard scan does not interfere with the port. This is a popular mistake to do when writing 1351 mouse drivers.
If the mouse emulation feels different to a real 1351, it's probably due to the mouse acceleration feature of the OS. Switch it off then it's more close to the real thing.
I think you should try a recent (after Apr.2012) VICE version for testing. Range and bit depth is corrected now, and it supports things like middle mouse button.
|
Previous - 1 | 2 | 3 - Next |