Jump to content
IGNORED

Trackball controllers


PAH

Recommended Posts

I'm just getting started with 2600 programming, and figured hacking a game or two to use the trackball controller would be a good start. I see that Thomas Jentzsch has already hacked Missile Command for the trackball, so if nobody else is working on Millipede and/or Centipede, I figure I'll tackle them.

 

That said, I realize there are two models of trackballs out there, the cx-80 and cx-22. What are the differences between these? There is no number on my trackball, so I'm not sure which one I have.

 

Also, can anyone point me to some info on how the trackballs behave from a software point of view - i.e. which bits do what when you move the ball this way or that way?

 

Thanks,

 

Pete

Link to comment
Share on other sites

Well, implementing the Trakball into other games is not as easy as it might look like.

 

Since the Trakball has a very high resolution, you have to check the values very frequently. The only way here is doing this inside the display kernel. Since this requires some extra time, only games with very simple kernels (with free CPU time) will work here. And since Centipede/Millipede have a quite complicated kernel, I am afraid your idea won't work.

Link to comment
Share on other sites

By the way:

Also, can anyone point me to some info on how the trackballs behave from a software point of view - i.e. which bits do what when you move the ball this way or that way?

 

If I were you, I'd search the Stella list, and also disassemble Thomas' Missile Command TB and compare it to a disassembly of the original.

 

Here's a good link to start with:

http://www.biglist.com/lists/stella/archiv...0/msg00472.html

 

By the way #2:

Even if Centipede/Millipede won't work. I always thought Othello TB would be fun. It may even be feasible. :)

Link to comment
Share on other sites

OK. I answered my own question about Centipede with flickering by reading the link above.

 

You need about 20 reads per frame to get a good

control over the cursor. Doing it only once per frame

would only result in jerky movement, as you would never be

able to read the next value of the code sequence.

 

So when Thomas said "very frequently", he meant more than once per two frames.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...