Jump to content
IGNORED

Input/Output - 5200 joystick ports


Recommended Posts

I have question about how I/O is handled on the 5200 joystick ports in comparison to the 2600/7800.

 

On the 2600 the 1-4 pins on each joystick port can be set to output by setting the appropriate bit in the SWCANT register to '1'. And then I/O is handled by setting the appropriate bit for each pin to either 1 or 0 in the SWCHA register.

 

Does it work in a similar manner for 5200 programming? If so, which pins on the port are used for I/O output?

 

I ask because I am developing at BT/USB adapter for the 2600/5200/7800 consoles. Here is test of the adapter prototype in action on the 5200.

 

  • Like 1
Link to comment
Share on other sites

I don't think so.  5200 has no PIA so that rules out the digital outputs it provides.

 

Stick axes are analog by means of 2 paddle (pot) inputs per port.  Keypads are by means of the Pokey keyboard scanning.

And fairly sure there's a fire button connected to GTIA STRIG input per stick.

 

I seem to recall a method being described that uses fast pot scan mode to be able to do digital output on a pot line but unsure how and if it can be done on the 5200.

 

A better solution for what you describe for the 5200 would probably need D->A converters to provide the variable stick X/Y values.

Keys... you'd probably need to monitor the keyscan and return relevant outputs at the right times.

Link to comment
Share on other sites

2 hours ago, Rybags said:

I don't think so.  5200 has no PIA so that rules out the digital outputs it provides.

Rybags - Thanks for the info.

 

What I’m hearing is that there is no official way of doing it like there is on the 2600/7800. Which I am also guessing means that there is no real for it either.

 

This works out for the best for us anyway. Less to implement.

 

Unless I misunderstood your post.

 

Thanks!

-A

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...