Jump to content
cbmeeks

Sega Genesis controller interface?

Recommended Posts

Is there a converter for the TI that would allow me to use a standard Genesis pad and have access to all buttons?

 

Thanks!

Share this post


Link to post
Share on other sites

Are there TI-99/4A games that are so complex as to need more than one or two buttons at most, or is it for a homebrew project?

Share this post


Link to post
Share on other sites

The TI can have two joystick pluged in, either the TI branded or the Atari model via an adapter.

 

Personnaly I would use an adaptor (atari) and modify it so the directions are mapped to joystick 1 and the extra buttons are mapped to the functions of joystick 2. You'll then have to program the behavior when some of the J2 functionality is activated.

Share this post


Link to post
Share on other sites

Ive tinkered with that idea before. Hmmm

 

I wonder how hard it would be to latch the Genesis pad values and then stream them in via the fire button? Sort of like a parallel to serial conversion. Of course Id have to write a driver for it on the TI. And it wouldnt work with legacy games.

Share this post


Link to post
Share on other sites

Ive tinkered with that idea before. Hmmm

 

I wonder how hard it would be to latch the Genesis pad values and then stream them in via the fire button? Sort of like a parallel to serial conversion. Of course Id have to write a driver for it on the TI. And it wouldnt work with legacy games.

 

Depends on how the TI reads up the data from those pins. Does the TI support paddles? If yes than you may have the possibility of reading a range of value from the coresponding pins (0 to 255 for example).

Share this post


Link to post
Share on other sites

The MBX communicates with the TI via the joystick port. Depending upon the pin-out of the Sega controller, and getting 5V to it in the first place, it should be possible to interpret a data stream from the controller.

Share this post


Link to post
Share on other sites

The wiring of the 3 button Sega controllers is pretty easy: https://gamesx.com/wiki/doku.php?id=controls:megadrive_genesis_controller_3

 

I'd post the image but the board says I'm not allowed to post a link to a png file. (wat?)

 

This explains why they work on the Atari 2600 the way they do. Atari provides power on pin 7, but Sega uses pin 5. However, if you plug a Genesis controller into an Atari, the selector line is held high, which incidentally powers the chip. This allows you to read the D pad on pins 1-4, the B button on pin 6, and the C button on pin 9. If you power pin 5 instead so that you can toggle pin 7, you can read A and Start.

If you try to read with pin 7 low, left and right will both be pressed at the same time. If they're not, you're not reading a genesis controller.

 

The six button controllers have a more complex protocol.

 

If you want an easy conversion, NES and SNES controllers are 8 and 16 bit shift registers.

  • Like 1

Share this post


Link to post
Share on other sites

 

If you want an easy conversion, NES and SNES controllers are 8 and 16 bit shift registers.

 

join like 20 years ago and get a micro and make an adapter for 3 bucks

Share this post


Link to post
Share on other sites

I just sever the chip lines and rewire the 6 button so the extra buttons are joystick 2 button and directionals

 

And they are in stock at arcadeshopper

The wiring of the 3 button Sega controllers is pretty easy: https://gamesx.com/wiki/doku.php?id=controls:megadrive_genesis_controller_3

 

I'd post the image but the board says I'm not allowed to post a link to a png file. (wat?)

 

This explains why they work on the Atari 2600 the way they do. Atari provides power on pin 7, but Sega uses pin 5. However, if you plug a Genesis controller into an Atari, the selector line is held high, which incidentally powers the chip. This allows you to read the D pad on pins 1-4, the B button on pin 6, and the C button on pin 9. If you power pin 5 instead so that you can toggle pin 7, you can read A and Start.

 

If you try to read with pin 7 low, left and right will both be pressed at the same time. If they're not, you're not reading a genesis controller.

 

The six button controllers have a more complex protocol.

 

If you want an easy conversion, NES and SNES controllers are 8 and 16 bit shift registers.

Sent from my LG-H872 using Tapatalk

  • Like 1

Share this post


Link to post
Share on other sites

What's your mapping Greg? I think it's probably important to have that documented so that people who do their own make something compatible with the ones you're selling. That way people can start safely using them in new games. :)

Share this post


Link to post
Share on other sites

In systems which do not recognize the controllers for what they are, the "B" button is fire, "A" and "C" are ignored.

  • Like 1

Share this post


Link to post
Share on other sites

I know how they work on Atari and other systems—they don't work that way on the TI without modification, and the button controllers may not work at all on something that doesn't put 5v on pin 5. (Atari standard puts it on pin 7, which powers the 74LS157 incidentally.)

Greg's got these 6 button controllers wired up using buttons other than B as joystick 2's inputs. He can define 5 buttons and a start and mode button I suspect he's not using at all. I was wondering what he's got A, C, X, Y, and Z mapped to on the second joystick port.

Share this post


Link to post
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.

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