Author Topic: SNES Pad to PC engine adaptor  (Read 646 times)

Vimtoman

  • Sr. Member
  • ****
  • Posts: 380
SNES Pad to PC engine adaptor
« on: April 14, 2016, 07:30:02 AM »
I have a working circuit for a SNES Pad to 2/6 Avenue style pad converter.
Would like some input of what keys to set to the SNES buttons.
Obvious ones are set below. Missing ones with ?

This is going to be set once the pcb is made.

PCE : SNES
Run     : Start
Select  : Select
Up       : Up
Down   : Down
Left      : Left
Right    : Right
?          : Y
?          : B
?          : X
?          : A
?          : Left Shoulder button
?          : Right Shoulder button

Will have switches for
2/6 pad
auto fire for I
auto fire for II
Slow mo

If the adaptors auto fire are switched off any snes pad having auto fire switches should work.
Dont have one to test.

Still have to source switches and design the pcb.

Will make a bunch up for sale to all at PCenginefx and schematic etc will be released.
« Last Edit: April 14, 2016, 10:07:02 PM by Vimtoman »

wilykat

  • Hero Member
  • *****
  • Posts: 908
Re: SNES Pad to PC engine adaptor
« Reply #1 on: April 15, 2016, 09:19:36 PM »
For me I would like B and A for II and I button.  Make X and Y rapid fire B and A.  Shoulder button no function in 2 buttons mode.

I haven't done enough 6 button gaming to see what works best.

Vimtoman

  • Sr. Member
  • ****
  • Posts: 380
Re: SNES Pad to PC engine adaptor
« Reply #2 on: April 15, 2016, 11:23:29 PM »
I've not done many 6 button games as well hence me asking.
OK I have one problem as this is not a full CPU conversion and is mostly TTL.
There is a CPU but it's just clocking and latching at a high speed.
I just didnt want to get to a point of having to add a display.
As you could have numerous variations I will probably have pcb pads for user configurable.   
SNES on one side and PCE on the other. wired buy user for setup.

I like your setup but I found that I also liked Y as II and B as I.





wilykat

  • Hero Member
  • *****
  • Posts: 908
Re: SNES Pad to PC engine adaptor
« Reply #3 on: April 16, 2016, 03:52:22 PM »
PC Engine controllers used 74157 4 to 2 muxer, and SNES controllers used dual 4021 8 to 1 shift register to encode total of 16 input (only 12 used, 4 tied to +5v).  If you used something like 74164 1 in to 8 out, chained to get 16 total output you can decode SNES controller data, and you have up to 12 usable functions (plus that 4 more bits that are always HIGH) that you can wire to 74157 like a normal PCE or TG16 controller to get proper data encoding.

A few chips or use something like microprocessor like ATMega or CPLD, PAL, whatever.  It's all easy for one who knows electronics.  If it was up to me, I'd just program ATMega to read SNES controller via readily available library, check the SELECT (or CLOCK or whatever depending on which schematic,  from pin 6 on PCE controller) to determine which mode (A on low, or B oh high) and feed the specific controller function from SNES side to the 4 data pins unless enable line (pin 7 on PCE controller) is HIGH.  If the enable is HIGH, ATMega can tristate the 4 data outputs to avoid bus conflict.  ATMega should have internal pullup resistor enabled on the 4 data outputs.  Minimum of 9 I/O pins would be needed so just about any ATMega chips other than ATTiny can work.  (ATMega2560 would be serious overkill even if you're trying to build 5 SNES to PCE multi-tap type adapter with switchable 1 player or 5 players mode, 70 total I/O pins!)

Vimtoman

  • Sr. Member
  • ****
  • Posts: 380
Re: SNES Pad to PC engine adaptor
« Reply #4 on: April 16, 2016, 08:15:45 PM »
I started off using the CPU and have a Pic and a Mega reading the snes controller.
Then thought I'd hook up to a pad to see if I could transfer the serial data to a standard pad through a serial to parallel converter. just to check it out.
The CPU then just ended up doing the clocking and latching. The serial goes direct.
I can go further and use the CPU to do the rest but thought that, well for few dollars worth of TTL IC's this would work faultlessly and fast.
The rapid fire would be the same speed.
The only down side was there was 6 IC's.

I have most of the software completed and may continue doing the full conversion on CPU.
I just liked the fact that the old school TTL worked like clockwork:)

gojira1954

  • Guest
Re: SNES Pad to PC engine adaptor
« Reply #5 on: April 16, 2016, 11:49:48 PM »
Wow this looks complicated :s

wilykat

  • Hero Member
  • *****
  • Posts: 908
Re: SNES Pad to PC engine adaptor
« Reply #6 on: April 17, 2016, 03:54:40 AM »
So is brain surgery but doctors will tell you it's easy  :mrgreen:

I've been playing with electronics for oh about 35 years so I have plenty of experience and understanding and could probably build anything from scratch. It's how I was able to may my Duo-R have 16x more memory for saving games.

Using a bunch of TTL chips vs using a single microprocessor.  ATMega328p can be bought for as little as $2 in bulk from reputable sources.  I haven't checked the prices for TTL but one chip takes less space, less wiring, and be easier to troubleshoot if something doesn't work. 

Vimtoman

  • Sr. Member
  • ****
  • Posts: 380
Re: SNES Pad to PC engine adaptor
« Reply #7 on: April 17, 2016, 05:34:58 AM »
I  may go back and and try to program this.
Just used the TTL route whilst investigating the snes pad.
TTL is a stable as you can get as long as you have the correct circuit.
I'm going to finish this off so that I have one made up.
The snes pad does feels a lot better than the PC Engine stock pad.





esteban

  • Hero Member
  • *****
  • Posts: 24063
SNES Pad to PC engine adaptor
« Reply #8 on: April 17, 2016, 06:49:51 AM »
I  may go back and and try to program this.
Just used the TTL route whilst investigating the snes pad.
TTL is a stable as you can get as long as you have the correct circuit.
I'm going to finish this off so that I have one made up.
The snes pad does feels a lot better than the PC Engine stock pad.

I like the SNES pad, but I don't think it feels that much better, if at all, than the PCE pads.

MegaDrive/Genesis pads, on the other hand...something a bit too mushy about them, and physical location...

But I digress... :)
  |    | 

Vimtoman

  • Sr. Member
  • ****
  • Posts: 380
Re: SNES Pad to PC engine adaptor
« Reply #9 on: April 17, 2016, 07:47:37 AM »
compare it to any of the Avenue pads.
I found the the 3 button and 6 button directional controls pretty dire on those two.
The two button stock ones are better but the snes one I found more comfortable and responsive.

I'm going to release all the info for the circuit when finalised so everyone can build one themselves.



Phase

  • Sr. Member
  • ****
  • Posts: 356
Re: SNES Pad to PC engine adaptor
« Reply #10 on: April 17, 2016, 02:58:59 PM »
May want to have select as a R shoulder for games with select as something in game, if R is not used for anything.
Genesis 6 or Saturn controller for street fighter would be pretty cool.

Duo_R

  • Hero Member
  • *****
  • Posts: 3302
Re: SNES Pad to PC engine adaptor
« Reply #11 on: April 17, 2016, 03:18:52 PM »
Very cool cant wait!
Add my YouTube channel:


For sale trade list: http://tinyurl.com/2csm7kq

gojira1954

  • Guest
Re: SNES Pad to PC engine adaptor
« Reply #12 on: April 17, 2016, 06:26:58 PM »
May want to have select as a R shoulder for games with select as something in game, if R is not used for anything.
Genesis 6 or Saturn controller for street fighter would be pretty cool.

Yeah these pads are the best choice for SF I think, would love to get an adapter for either!

Vimtoman

  • Sr. Member
  • ****
  • Posts: 380
Re: SNES Pad to PC engine adaptor
« Reply #13 on: April 17, 2016, 08:26:30 PM »
May want to have select as a R shoulder for games with select as something in game, if R is not used for anything.
Genesis 6 or Saturn controller for street fighter would be pretty cool.

I'm going to have a switch for 2/6way pad and have one last pole which I will use for select on right shoulder.
I have two used for switching rapid fire of I and II buttons.

Vimtoman

  • Sr. Member
  • ****
  • Posts: 380
Re: SNES Pad to PC engine adaptor
« Reply #14 on: April 21, 2016, 10:12:27 AM »
OK Pcb's on order should be with me in a month and a half.
Picked the laid back supply.
Hopefully I've not made a mistake.

I will make one or two up for a raffle.

In two button mode there is auto fire on A and X whilst  B and Y is I and II.
Right shoulder is select.

Switch selects between 6 & 2 button mode.

TTL with high speed 32MHz CPU clocking/latching so realtime.

Will post details when tested on ne pcb's.