TailChao
Gun-headed
I Must Eat Muffin Gear.
Posts: 68
Fave PCE Game Overall: Bonk's Adventure
|
Post by TailChao on Oct 25, 2019 19:14:15 GMT
I'll also echo the suggestion to toss a 74HC157 in there after the microcontroller outputs, this removes a bunch of timing requirements and headache. When I was working on my Sega adapters I just tossed a CPLD in there to handle all the multiplexing.
The nice thing about NES controllers aside from availability is the serial interface, so you don't need a massive pin count. You could fit the whole thing in a PIC16C5x, and are welcome to pillage the resources from my ProNES adapter design (for Atari 7800, but close enough).
|
|
|
Post by Arkhan on Oct 25, 2019 19:24:54 GMT
Yeah, he said someone asked him for it. I'm just curious really. I tried some of those new NES controllers and didn't like the button feel. Yes, I was asked to do this project. The person who asked seems to like NES controllers more and would rather pay a cheaper price for a NES controller than a TG16 controller. For me, it's the engineering challenge. I'm an electronics designer and for my personal projects I like to build things with the video game consoles I grew up with. It's fun to make them do things they were never designed to do. I never had a TG16 growing up, but played it at a friends house. I do have an NES Advantage to test with and an off brand NES turbo controller. I also tend to build mods that don't destroy consoles. I have found a few websites showing how to gut an NES controller and make it into a TG16 controller, but then you destroy it as an NES controller. That's why this is going to be a plug in converter. So the user can easily change between consoles. Hmm. DogBone controllers tend to cost more these days, I thought at least. I definitely understand the technical fun aspect. I was just curious why someone suddenly wanted to use an NES controller. Being able to use an SNES one would be sweet. I have an adapter to use Genesis/PS1 controllers on my MSX since MSX pads are hard to come by cheap, and sometimes kind of suck. I like that thing quite a lot.
|
|
keithcourage
Punkic Cyborg
https://www.facebook.com/turbografxfan/
Posts: 231
|
Post by keithcourage on Oct 25, 2019 22:19:51 GMT
|
|
|
Post by turboxray on Oct 26, 2019 7:49:25 GMT
If you make it read from the Zapper too, I'll hack duckhunt and a few new zapper games to run as a nes2pce rom.
|
|
|
Post by doublehacker on Oct 26, 2019 15:13:30 GMT
If you make it read from the Zapper too, I'll hack duckhunt and a few new zapper games to run as a nes2pce rom. Interesting idea! It looks like the zapper uses a trigger and detect pins. I could put these to button III and IV. Would that make it work for you?
|
|
|
Post by dshadoff on Oct 26, 2019 16:31:40 GMT
I'll also echo the suggestion to toss a 74HC157 in there after the microcontroller outputs, this removes a bunch of timing requirements and headache. When I was working on my Sega adapters I just tossed a CPLD in there to handle all the multiplexing. Which CPLD did you use (i.e. did it have 5V I/Os ?)
|
|
TailChao
Gun-headed
I Must Eat Muffin Gear.
Posts: 68
Fave PCE Game Overall: Bonk's Adventure
|
Post by TailChao on Oct 26, 2019 16:58:59 GMT
Which CPLD did you use (i.e. did it have 5V I/Os ?) The single controller adapter was using an Altera EPM7064, which is a NOS part but 5V native and still fairly available (and cheap). The multitap I was prototyping with a Cyclone II development board and some level shifters, but was going to switch to one of Atmel or Lattice's 5V parts once it was done.
I'd still like to finish and share both designs, but it'll likely have to wait until early next year.
|
|
|
Post by dshadoff on Oct 26, 2019 17:39:56 GMT
The single controller adapter was using an Altera EPM7064, which is a NOS part but 5V native and still fairly available (and cheap). The multitap I was prototyping with a Cyclone II development board and some level shifters, but was going to switch to one of Atmel or Lattice's 5V parts once it was done. Hmm. The 5V version of that part is marked "obsolete" and no longer available from Mouser or Digi-Key. Do you know any other trustworthy sources that might still have them ?
|
|
TailChao
Gun-headed
I Must Eat Muffin Gear.
Posts: 68
Fave PCE Game Overall: Bonk's Adventure
|
Post by TailChao on Oct 27, 2019 15:45:35 GMT
The 5V version of that part is marked "obsolete" and no longer available from Mouser or Digi-Key. Do you know any other trustworthy sources that might still have them ? If you're just trying to get them in low quantities, most eBay auctions are fine. In the hundreds you'll have to find a reseller in China with NOS parts or pulls available. I recommend prototyping your design in Altera's software before buying anything. A modern substitute would be Microchip / Atmel's ATF1504.
|
|
|
Post by dshadoff on Oct 27, 2019 16:08:34 GMT
Looks like Microchip is the go-to place for 5V logic. PICs, PALs/GALs, and CPLDs. Everybody else seems to have run away from 5V.
I was just looking at the ATF750CL which is simpler, but probably still has all one needs for 6-button multiplexing. Trouble is, these things are power-hungry (including the ATF1504) - if you don't specifically get the 'L' version, they will consume 100mA background draw. The 'L' versions look to be OK in the sub-1MHz range though (as controllers will be). Maybe I'll look into these...
|
|
|
Post by doublehacker on Oct 28, 2019 19:18:03 GMT
Playing around with how this converter will look. I'm thinking a simple in one side out the other. Attachments:
|
|
|
Post by dshadoff on Oct 29, 2019 1:22:58 GMT
I think the basic "one side in, one side out" is the way to go. I hadn't thought about heat-shrink as a cover.
|
|
|
Post by Arkhan on Oct 30, 2019 22:38:58 GMT
lol it looks like the elephant vacuum nose from super bonk
|
|
|
Post by truxtontradchampno1 on Oct 30, 2019 22:41:33 GMT
Why would do attempt that kind of sacrilege? The PCE pad is PERFECTION.
|
|
|
Post by dshadoff on Nov 4, 2019 4:45:35 GMT
So, did you get a chance to test it out yet ? Is it working to your satisfaction ?
|
|