atari800 / atari800

Atari 8-bit computer and 5200 console emulator
https://atari800.github.io/
GNU General Public License v2.0
348 stars 95 forks source link

Atari 5200 secondary trigger and player-independent keys #114

Open carmiker opened 4 years ago

carmiker commented 4 years ago

I have realized there is no clear way to use the second trigger input on the Atari 5200 controller. The SDL frontend does not seem to have a setting for it. You can trigger it by setting INPUT_key_shift, but this is not player-independent. In kat5200, the triggers are labelled "top" and "bottom". I know of at least one game that requires the second trigger, Moon Patrol. Is there something I am missing here?

Similarly, there does not seem to be a clear way to differentiate the console keys (Start, Pause, Reset) or numerical keypad buttons between input devices. I don't know if this is actually necessary for console keys, since I see the Track Ball controller only has one set of those keys, but it does have two sets of numerical keys, and two sets of triggers.

joysfera commented 4 years ago

It would help a lot if we had a developer that would know the Atari 5200, would love its games and would want to have them supported properly in the Atari800 emulator.

PRMan99 commented 2 years ago

Sure thing. How do I compile this on Windows?

carmiker commented 1 year ago

Since there has been no movement on this in 3 years, I am forced into the position of needing to become an expert on the Atari 5200. I will do the research and implementation required to support the system at a "Tier 1" level by writing an emulator from scratch and share all the documentation and license the code in such a way that it will also help the Atari800 project.

mikrosk commented 1 year ago

You don't need to be an expert on the 5200, nor to write everything from scratch. Atari800 has decent support for the 5200, so all that is needed is to read some hardware docs and add the feature into existing source base. Much easier approach. :)

carmiker commented 1 year ago

@mikrosk yes, you are absolutely correct! However, I made the comment as a sort of joke and a way to ensure I really do become an expert on the system. I have done other systems in depth such as the ColecoVision, the Sega 8-bit family, and the Neo Geo, writing an emulator which serves as a living document that anyone can read and reference. So I will do the same for the Atari 5200 and everyone can benefit. I've been known to submit PRs to related projects as I develop my own emulators :).

Here are some examples of what I did with the ColecoVision that will demonstrate my intentions for the Atari 5200: https://gitlab.com/carmiker/colecodocs https://gitlab.com/jgemu/jollycv

I'll use this thread to discuss any issues I may face as I develop an eventual PR for the atari800 project.