RevEng Posted January 24, 2011 Share Posted January 24, 2011 As a lot of you already may know, it's possible to read both the B and C buttons on an unmodified Sega Genesis controller. (bB sample code here, asm sample code here, and 2-button classic games and homebrew here.)While looking at the standard Atari 2600 and Genesis pinouts a while back...Atari1... Up2... Down3... Left4... Right5... Paddle6... Button7... +5v8... GND9... PaddleGenesis1... Up2... Down3... Left4... Right5... +5v6... Button A/Button B7... Select8... GND9... Start/Button C...it occurred to me that if you switched pins 5 and 7, you might be able to control the Select line of the multiplexer in the Genesis controller with the Paddle line. (Some Genesis buttons share wires; the status of one pair of buttons is returned when the Select line is hi, and the status of another pair of buttons is returned when Select is low.)The first test confirmed the theory, but it was apparent I needed a pull-up resistor between 5 and 7, to allow the Paddle cap to charge again after a button press. I found that a 10k resistor did the trick.Buttons A, B, C, and Start can be read with this configuration, and I believe with a bit of software protocol work that the remaining buttons on a 6-button pad can be read too.While this isn't as slick as the 2-button read, since it involves modification to the pad, it's still pretty cool to be able to read the additional Genesis buttons on a 2600 for a 10 cent investment. And given that genesis compatible pads can be bought for around $5, it would be viable to sell a modified pad with a homebrew title that required multiple buttons.In case anyone decides to tread down this road someday, a sample program to report the 4 buttons on a Genesis pad follows...3buttonread.asm.txt3buttonread.binSomeday I'm gonna hack this into Defender 2 and play it in all of 4 button glory it deserves! 1 Quote Link to comment Share on other sites More sharing options...
Bakasama Posted January 24, 2011 Share Posted January 24, 2011 I do have a question, can this apply to a 7800 game? I know you still have to mod a pad to get that 2nd fire button on the 7800 to be usable. Quote Link to comment Share on other sites More sharing options...
RevEng Posted January 24, 2011 Author Share Posted January 24, 2011 I do have a question, can this apply to a 7800 game? I know you still have to mod a pad to get that 2nd fire button on the 7800 to be usable. 7800 homebrews should be able to work with this just fine, and any other platform that supports Atari paddles and joystick, like the A8. Quote Link to comment Share on other sites More sharing options...
c_t_f Posted January 25, 2011 Share Posted January 25, 2011 This would be useful in a 'Karate' hack, whereas each button does a different attack (strong kick, weak kick, etc.)! It'd be more enjoyable (or at least more PLAYABLE) than the original that way! @CTF@ Quote Link to comment Share on other sites More sharing options...
RevEng Posted January 25, 2011 Author Share Posted January 25, 2011 For sure! I also see it being useful in a quest game, where one button could select the active item in inventory, another could attack, a third could use magic, etc. Lots of potential, but the controller would need to be bundled with a cart, I think. Quote Link to comment Share on other sites More sharing options...
Bakasama Posted January 27, 2011 Share Posted January 27, 2011 I got another question. Can this also apply to the 2600 driving controllers? I think games like Spy Hunter or Tempest would benefit from the extra buttons. Although where to put those buttons on the controllers is another question. Quote Link to comment Share on other sites More sharing options...
RevEng Posted January 27, 2011 Author Share Posted January 27, 2011 To transmit movement the driving controllers use the same wires as the 4 joystick direction inputs, so yes, it would be possible to create a hybrid 4-button steering controller. Quote Link to comment Share on other sites More sharing options...
maiki Posted February 18, 2011 Share Posted February 18, 2011 I do not understand what that SELECT is... There is no SELECT on Genesis controller. Quote Link to comment Share on other sites More sharing options...
RevEng Posted February 18, 2011 Author Share Posted February 18, 2011 I do not understand what that SELECT is... There is no SELECT on Genesis controller. Select isn't a button. It's the name of a line on the multiplexer chip inside the Genesis controller. Setting it high or low allows the game to "select" which set of buttons it's reading from. Quote Link to comment Share on other sites More sharing options...
+SpiceWare Posted May 24, 2013 Share Posted May 24, 2013 What would be really cool is if an inexpensive adaptor could be made - plug the Genesis gamepad into the adaptor, plug the adaptor into the Atari. Quote Link to comment Share on other sites More sharing options...
RevEng Posted May 24, 2013 Author Share Posted May 24, 2013 Yeah, definitely possible, though making a nice one that fits in most Atari's and is cheaper than modding an existing genesis pad is a bit of a trick. I'd love to see it though! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.