74HC157 To controller port pinouts

For hardware talk only (please avoid ROM dumper stuff)
Post Reply
jtn0514
Interested
Posts: 17
Joined: Sat Dec 28, 2013 9:33 pm

74HC157 To controller port pinouts

Post by jtn0514 »

Anyone happen to have a simple diagram of the 74HC157 interfacing with the controller port on the megadrive?

Ive found one here but its somewhat confusing and appears that there may be what looks like an extra line(3a) just after the pin listed for the dpad right "button" (2b)

http://gamesx.com/wiki/lib/exe/fetch.ph ... ematic.png

I feel like everything else looks fine though.

Anyone have a cleaner less sketchy diagram that may clearly define the schematic?
Mask of Destiny
Very interested
Posts: 628
Joined: Thu Nov 30, 2006 6:30 am

Re: 74HC157 To controller port pinouts

Post by Mask of Destiny »

I'd have to check some documentation to be sure, but nothing seems wrong on that schematic. Labels are just a bit messy. 3A on the 74157 is connected to the A button, 3B is the B button, 4A is start and 4B is C.
Sik
Very interested
Posts: 939
Joined: Thu Apr 10, 2008 3:03 pm
Contact:

Re: 74HC157 To controller port pinouts

Post by Sik »

And for what matters, two inputs should be grounded (detecting 00 for left/right when TH is low is how you can tell that a controller is connected)
Sik is pronounced as "seek", not as "sick".
HardWareMan
Very interested
Posts: 753
Joined: Sat Dec 15, 2007 7:49 am

Re: 74HC157 To controller port pinouts

Post by HardWareMan »

Labels are below what they labeling. That's is the key.
jtn0514
Interested
Posts: 17
Joined: Sat Dec 28, 2013 9:33 pm

Re: 74HC157 To controller port pinouts

Post by jtn0514 »

Thanks guys,

Needed a second set of eyes on that.
jtn0514
Interested
Posts: 17
Joined: Sat Dec 28, 2013 9:33 pm

Re: 74HC157 To controller port pinouts

Post by jtn0514 »

I was looking at the diagram again and found something else interesting.

Im assuming the values listed on the chip (a1,a2....) are somewhat incorrect as well?

Comparing this to a standard 74hc157 chip im finding that the pin numbers the schematic above lists vs what the pinout of the 74hc157 chip are not matching entirely.

For instance, pin 2 (a1 listed on schematic). When looking at 74hc157 pinout, pin 2 is a0. It almost looks as if the author labeled a1-a4 when it should have started at a0-a3?

Any other opinions?
KanedaFr
Administrateur
Posts: 1154
Joined: Tue Aug 29, 2006 10:56 am
Contact:

Re: 74HC157 To controller port pinouts

Post by KanedaFr »

pretty old and crappy, but does this one help you ?
http://gendev.spritesmind.net/page-p_joy3.html
jtn0514
Interested
Posts: 17
Joined: Sat Dec 28, 2013 9:33 pm

Re: 74HC157 To controller port pinouts

Post by jtn0514 »

Thank you very much for that. That helps quite a bit and is much better than the diagram i was using.

Im building a custom controller circuit for a project and just needed something fairly well labeled and this definately does the job.

Thanks again!!
Post Reply