Jump to content

Photo

Colony 7 (2600) in Stella with trackball?


41 replies to this topic

#26 Swami OFFLINE  

Swami

    Dragonstomper

  • Topic Starter
  • 584 posts
  • Location:Twin Cities, MN

Posted Wed Aug 30, 2017 8:55 AM

I got a 2600-daptor, just missing a cable yet. Then I can test Atari and Amiga mouse but not CX22/80.

Since the CX80 could be either the CX22 or ST compatible version, it is a roll of the dice which it will be if you buy one, so I am wondering if an ST trackball mouse is functionally identical to the "ST compatible" CX80. i.e., is it smarter to just buy an ST trackball mouse rather than hoping to get the ST style CX80 or modding the CX22 compatible CX80? There also seem to be ST trackball mice such as the one below that are ST and Amiga compatible. Will these 2-model compatible mice work with the CX80 hacks?* Thanks.

 

http://www.ebay.com/...EwAAOxyIv5TlInd*

 

*The 2-model compatible mice use a switch that I think just adjusts the pinout, so should be the same as two separate trackballs.



#27 alex_79 OFFLINE  

alex_79

    Stargunner

  • 1,022 posts
  • Location:Italy

Posted Thu Aug 31, 2017 3:00 AM

 

Since the CX80 could be either the CX22 or ST compatible version, it is a roll of the dice which it will be if you buy one

 

There's no evidence that an ST-compatible CX80 ever existed. And it's unlikely that atari would have changed the protocol without indication of that on the box and the controller itself.  I believe that the very few units out there that were reported to be St compatible, were modified by end users or local shop/distributors.

 

CX22 and other trackballs can easily be modified for ST as well, so you never know what you'll end up with when buying one, altough probably chances of finding a modified unit are low.


Edited by alex_79, Thu Aug 31, 2017 3:07 AM.


#28 Swami OFFLINE  

Swami

    Dragonstomper

  • Topic Starter
  • 584 posts
  • Location:Twin Cities, MN

Posted Thu Aug 31, 2017 8:29 AM

 

There's no evidence that an ST-compatible CX80 ever existed. And it's unlikely that atari would have changed the protocol without indication of that on the box and the controller itself.  I believe that the very few units out there that were reported to be St compatible, were modified by end users or local shop/distributors.

 

CX22 and other trackballs can easily be modified for ST as well, so you never know what you'll end up with when buying one, altough probably chances of finding a modified unit are low.

This would make more sense.



#29 iesposta OFFLINE  

iesposta

    River Patroller

  • 3,344 posts
  • Retro-gaming w/my VCS
  • Location:Pennsylvania

Posted Thu Aug 31, 2017 8:42 AM

 
There's no evidence that an ST-compatible CX80 ever existed. And it's unlikely that atari would have changed the protocol without indication of that on the box and the controller itself.  I believe that the very few units out there that were reported to be St compatible, were modified by end users or local shop/distributors.
 
CX22 and other trackballs can easily be modified for ST as well, so you never know what you'll end up with when buying one, altough probably chances of finding a modified unit are low.


Agreed.
It's safe to assume in this case the CX80's are the same as CX22's.
Very, very few operate otherwise, and those were probably modded by users.

That's why the file names were changed.
Any real AA carts will auto-detect the trackball type.

#30 Swami OFFLINE  

Swami

    Dragonstomper

  • Topic Starter
  • 584 posts
  • Location:Twin Cities, MN

Posted Wed Sep 13, 2017 8:51 PM

I also have an Atari and Amiga mouse.  The Atari one is an actual Atari one that came from an ST, maybe?  But the Amiga one is actually dual-purpose, in that it has a switch on it to make it compatible with either Amiga or Atari.  I believe it's a 'Wizard' mouse.  I also have a Stelladator and multiple versions of  2600-daptor.  I haven't tried these mice with Stella yet, mostly since I haven't had any time.

 

I don't have, nor have I ever seen, a CX22 or CX80 trakball controller.  So a donation of one (or both) of these would be appreciated.

 

 

I got a 2600-daptor, just missing a cable yet. Then I can test Atari and Amiga mouse but not CX22/80.

 

The Alfa Data Atari ST/Amiga trackball mouse I ordered just arrived and I tested it out on the Colony 7 CX80 hack with Stella 5.0.2. Atari Mouse mode and my 2600daptor ][ set to CX80. For my CX22 and CX80 (with CX22 internals) I had to set mouse sensitivity to 100% to get good response, with the Atari mouse, this was way too much sensitivity and had to set it to 50% or less. Using the 2600daptor ][ with the Atari mouse, it works on my desktop like a slightly slower ordinary optical trackball mouse. In Colony 7, it works great, except that Stella appears to have a similar issue of the occasionally appearing "invisible borders" stopping the mouse except they are more complicated than with the CX22 modes. In CX22 modes, the CX22/80 would occasionally run into an invisible border in one direction and a good spin in the opposite direction would fix it, as if it had run out of axis in that direction and needed to be spun back towards the trackball axis width center. In the Atari mouse modes, it occasionally hits invisible borders to the left and right and/or up and down, restricting movement in opposite directions at the same time. The mouse does not behave erratically, it just doesn't move beyond certain points. Then it just goes away after a while. This is true for both the Alfa Data mouse and my Kensington Expert trackball mouse, so it appears to be an artifact of Stella or the CX80 hack. Also, both trackball mice work flawlessly in desktop mode. Otherwise, the mice and Colony 7 hacks work superbly in Stella 5.0.2.

 

I am curious what the Game Properties > Controller > "Mouse Axis Range" parameter does.

 

There does not seem to be a way to use the Alfa Data Amiga mouse setting with Windows in general or Stella, due to no setting on 2600daptor. I assume Amiga mouse setting in Stella is only used with the PC's USB mouse.

 

As an aside, the Alpha Data Atari Trackball mouse works good, as far as the trackball goes, but the left click button seems finicky in both Stella and Windows desktop, sometimes not acting and other times acting twice when it is pushed.



#31 dualcam OFFLINE  

dualcam

    Chopper Commander

  • 187 posts

Posted Fri Sep 15, 2017 10:36 AM

 

There does not seem to be a way to use the Alfa Data Amiga mouse setting with Windows in general or Stella, due to no setting on 2600daptor.

 

Amiga mouse is switch 1 down, 2 up -

http://2600-daptor.c...00-firmware.htm

 

Tom

http://2600-daptor.com/



#32 Swami OFFLINE  

Swami

    Dragonstomper

  • Topic Starter
  • 584 posts
  • Location:Twin Cities, MN

Posted Fri Sep 15, 2017 12:43 PM

 

Amiga mouse is switch 1 down, 2 up -

http://2600-daptor.c...00-firmware.htm

 

Tom

http://2600-daptor.com/

Okay. Thanks! Guess it was a little unexpected in 7800 switch configuration, but I see it is there in the website instructions. I'm assuing you need to plug in the USB with the datpor2 in mouse boot mode first, like with the Atari mouse, or do you plug it in directly as 7800 mode?



#33 dualcam OFFLINE  

dualcam

    Chopper Commander

  • 187 posts

Posted Fri Sep 15, 2017 1:41 PM

Okay. Thanks! Guess it was a little unexpected in 7800 switch configuration, but I see it is there in the website instructions. I'm assuing you need to plug in the USB with the datpor2 in mouse boot mode first, like with the Atari mouse, or do you plug it in directly as 7800 mode?

 

Yes, first plug the adapter in with both switches down to put into mouse mode, then the mouse mode switch position settings apply.  I should probably move the mouse mode switch info to the main web page.

 

Tom

http://2600-daptor.com/



#34 Swami OFFLINE  

Swami

    Dragonstomper

  • Topic Starter
  • 584 posts
  • Location:Twin Cities, MN

Posted Fri Sep 15, 2017 1:51 PM

 

Yes, first plug the adapter in with both switches down to put into mouse mode, then the mouse mode switch position settings apply.  I should probably move the mouse mode switch info to the main web page.

 

Tom

http://2600-daptor.com/

Naw, just my fault for being too lazy to search the website for another mouse setting.



#35 Swami OFFLINE  

Swami

    Dragonstomper

  • Topic Starter
  • 584 posts
  • Location:Twin Cities, MN

Posted Sun Sep 17, 2017 1:38 AM

Tested Amiga Mouse mode on Stella, Colony 7 and 2600daptor ][ . Play was about the same as with Atari Mouse, with same invisible barrier problem.

 

I figured out the limitation with using mouse for emulation in joystick mode. When the mouse cursor reaches the edge of the screen, the game cross-hairs stop moving in that direction (since the mouse cursor can't move anymore). However, since the mouse cursor moves much faster (about 4 times faster under a normal use setting) than the game cross-hairs, the cross-hairs are limited to a couple of inches in each direction. If I slow the mouse cursor to the minimum in Windows settings, the cross-hairs have twice the room to move. If I switch to the lower dpi physical cx22 trackball and use mouse emulation of joystick mode, now I can use the cross-hairs across the full screen, although I sometimes have to adjust if the cursor reaches the screen edge before the cross-hairs. I should add that by the time I got it working decent, the cross-hairs moved so slow, it was more practical to use the CX22 trackball in joystick mode than to use a mouse or CX22 as mouse in Stella's joystick emulation mode.

 

I wonder if a similar mouse-cursor-running-out-of-room problem is causing the invisible barrier issue with the CX22 and CX80/atarimouse play.

 

I also got time to try MousetoJoy, although it is now in a much more comprehensive program called UCR (universal control remapper) created by someone called "evilc", available on github, which has pretty much every remapping combination you can imagine, except it doesn't have an auto-launcher to turn the remapping on and off when an app is opened or closed (which I have seen on a similar type of program), although it does have a pretty easy profile switcher. However, the profile switcher (and sometimes the desktop mouse itself) can be inaccessible for all practical purposes once you turn on a profile that messes with your mouse axis and button functions.



#36 Thomas Jentzsch OFFLINE  

Thomas Jentzsch

    Thrust, Jammed, SWOOPS!, Boulder Dash, THREE·S, Star Castle

  • 22,693 posts
  • Always left from right here!
  • Location:Düsseldorf, Germany, Europe, Earth

Posted Sun Sep 17, 2017 2:41 AM

How wide is that invisible barrier? I suppose only a few pixel, correct? 

Then I suppose (I don't have the code at the moment) the code checks if the new coordinate is out of bounds. And instead of setting it to the bounds then, it keeps the old value. Would that fit to what is happening to you?



#37 Swami OFFLINE  

Swami

    Dragonstomper

  • Topic Starter
  • 584 posts
  • Location:Twin Cities, MN

Posted Sun Sep 17, 2017 10:08 AM

How wide is that invisible barrier? I suppose only a few pixel, correct? 

 

> I' don't know if this describes the nature of the problem. What I observe is that the cross-hairs can't go any further. It is more like the travel axis just ends. However the "end of the axis" changes intermittently with time. If there is a pixel barrier interfering with movement that comes and goes that would describe it, but I don't know the dimensions of it.


Then I suppose (I don't have the code at the moment) the code checks if the new coordinate is out of bounds. And instead of setting it to the bounds then, it keeps the old value. Would that fit to what is happening to you?

 

> This sounds like a possibility, but I am not sure why it is intermittent then.



#38 Thomas Jentzsch OFFLINE  

Thomas Jentzsch

    Thrust, Jammed, SWOOPS!, Boulder Dash, THREE·S, Star Castle

  • 22,693 posts
  • Always left from right here!
  • Location:Düsseldorf, Germany, Europe, Earth

Posted Sun Sep 17, 2017 10:20 AM

I really need to know how much this barrier changes. 
 
Until then I can only guess that it depends on the speed you are moving. If you are moving fast and my guess from the mail above is right, then slow movement should always allow to move to the border, while with fast movement, the border seems to vary.
 
Example (border at 10)

initial pos|speed|result pos
9           1     10
9           2     9   ! 
8           2     10  
6           5     6   !
5           5     10

Edited by Thomas Jentzsch, Sun Sep 17, 2017 10:21 AM.


#39 Swami OFFLINE  

Swami

    Dragonstomper

  • Topic Starter
  • 584 posts
  • Location:Twin Cities, MN

Posted Sun Sep 17, 2017 11:36 AM

 

I really need to know how much this barrier changes. 
 
Until then I can only guess that it depends on the speed you are moving. If you are moving fast and my guess from the mail above is right, then slow movement should always allow to move to the border, while with fast movement, the border seems to vary.
 
Example (border at 10)

initial pos|speed|result pos
9           1     10
9           2     9   ! 
8           2     10  
6           5     6   !
5           5     10

I have confirmed the problem is caused by needing to turn off "grab mouse in emulation mode" when using the 2600daptor. When you use the USB mouse with this turned on, both CX22 and Atari mouse/CX80 work flawlessly. When using the 2600daptor with the CX22 or Atari mouse (aka CX80), for the more realistic experience, the trackball does not work well if "grab mouse in emulation" is turned on. However, when "grab mouse in emulation" in turned off, the motion of the cross-hairs becomes restricted by when the Windows mouse cursor reaches the edge of the screen, with the cross-hairs and Windows cursor often out of sync. I determined this by leaving the Windows mouse cursor on in Stella while playing and seeing the exact same behavior. Normally the mouse cursor is turned off because it is a distraction having it moving around in the play screen. If you have trackball/mouse sensitivity turned up to 100%, this is not such a problem because the cross-hairs motion more closely matches the Windows cursor. When using the Atari mouse at 100% sensitivity, the game play in unrealistic because you can move the cross-hairs across the screen with a couple mm of movement. It worked fairly well with the CX22 trackball and 2600daptor because you had to set sensitivity to 100% due to the lower dpi of the CX22, thus you just needed the occasional opposite spin on the trackball to re-center the Windows cursor. I can say that the CX22 and Atarimouse/CX80 version with Stella in trackball mode using a USB mouse with "grab mouse in emulation" on are implementations where everything works flawlessly.

 

Currently, it would appear using the CX22/80 trackballs is often best only with actual hardware or with the 2600daptor in joystick mode. Trackball modes in Stella are best if used with the natively USB mouse/trackball with "grab mouse in emulation" on.



#40 Swami OFFLINE  

Swami

    Dragonstomper

  • Topic Starter
  • 584 posts
  • Location:Twin Cities, MN

Posted Sun Sep 17, 2017 12:10 PM

 

I really need to know how much this barrier changes. 
 
Until then I can only guess that it depends on the speed you are moving. If you are moving fast and my guess from the mail above is right, then slow movement should always allow to move to the border, while with fast movement, the border seems to vary.
 
Example (border at 10)

initial pos|speed|result pos
9           1     10
9           2     9   ! 
8           2     10  
6           5     6   !
5           5     10

One belated addition: The atari mouse and amiga mouse can be used with the 2600daptor with either trackball hack with "grab mouse in emulation" if mouse sensitivity is turned up to 100%, even though this is way too sensitive if "grab mouse in emulation" is turned off. For the actual CX22/CX80 trak-balls, they also work as a mouse with "grab mouse in emulation" turned on, but even at 100% mouse sensitivity, the cross-hairs motion is about 2-3 times slower than you would want it. With "grab mouse in emulation" turned off, CX22/80 motion is acceptable, but "runs out off axis" occasionally due to Windows cursor hitting the edge of the screen and needs the opposite direction spin to re-center Windows cursor. This may be correctable by turning the mouse speed down in Windows settings. Just for summary, the usb mouse, atari mouse and amiga mouse do not work well with "grab mouse in emulation" turned off because the Windows cursor moves so much faster than the cross-hairs, even if Windows setting turns the mouse speed all the way down. These mouse trackballs might also have a lessened issue with "grab mouse in emulation" off, if mouse sensitivity is set very high and Windows mouse settings is set to minimum cursor speed, but I would recommend keeping "grab mouse in emulation" on for these mouse trackballs and reserving max trackball sensitivity in Stella and minimum cursor speed in Windows settings only if using the CX22/80 with 2600daptor.

 

I can conclusively say that the issues I observed are due to the game motion still being linked to (and often limited by) the Windows mouse cursor motion, which is not in sync, when "grab mouse in emulation" is turned off.

 

Edit: For using trackballs with Stella games with no trackballs hacks, use a CX22/80 trak-ball with 2600daptor and use joystick mode for all three components or use "Universal Control Remapping" app with USB or atari mouse axes mapped to four keyboard direction buttons. If you remap the "left-click" button on your mouse you will have to use keyboard keys to get around or find a program to substitute the left mouse button with another mouse button or keyboard key. It is possible a simple re-mapping another key/button to the left mouse button and using that key may just activate whatever key/button the left mouse button was remapped to, but not sure.

 

WinKey+D = allow highlight desktop icon

arrow keys = select different desktop icons

Enter = select

Alt+Tab = select different open apps

Alt+F4 = close a selected app (specifically closing UCR)

Shift+F10 = mouse right-click, shortcut menu

 

There does not seem to be a good universal "left-click mouse" keyboard shortcut

 

If things get really wacky, you may need to use Task Manager to shut UCR down or do a PC reset to get the mouse button to work normally again.  There are basic tutorials for using UCR on youtube and Steam. Both CX22/80 joystick mode and UCR are a little slower than an actual trackball hack, but I think UCR is a little faster than joystick mode, perhaps because you are using a newer mouse trackball and software rather than the older CX22/80 trak-ball.

 

This UCR setup seemed to work well enough to get in and out of Stella and close the UCR app. YMMV.  I have a "profile 1" which is empty that I switch to and save before closing. This is probably backwards as this should be the default profile. I have the left-click mouse button mapped to a fire key "a" and the middle mouse button mapped to the left-click mouse button.

Attached Thumbnails

  • UCR.png


#41 mr_me ONLINE  

mr_me

    Stargunner

  • 1,912 posts
  • Location:Ontario

Posted Thu Sep 21, 2017 5:51 AM

I'm thinking the old low resolution trackballs/mice might have something to do with it. With low resolution input devices, pixels might be skipped with fast movement confusing Stella into thinking the cursor has stopped. Stella was likely programmed with modern high resolution input.

...
 
I am curious what the Game Properties > Controller > "Mouse Axis Range" parameter does.

...
 
As an aside, the Alpha Data Atari Trackball mouse works good, as far as the trackball goes, but the left click button seems finicky in both Stella and Windows desktop, sometimes not acting and other times acting twice when it is pushed.


The "mouse axis range" setting only affects paddle games and can limit the onscreen movement. It has no effect on games programmed to use trackballs.

It would be nice if we could use keyboard buttons at the same time as mouse buttons in Stella.

#42 dualcam OFFLINE  

dualcam

    Chopper Commander

  • 187 posts

Posted Fri Sep 22, 2017 12:28 PM

I suspect Stella is going off the cursor coordinate position, which can be limited to the screen or the current window.  Instead would want to use the raw mouse relative motion, which I believe is xrel,yrel here -

 

http://wiki.libsdl.o...CategoryEvents)

 

EDIT: Opened a github report on this.

 

Tom

http://2600-daptor.com/


Edited by dualcam, Fri Sep 22, 2017 12:37 PM.





0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users