I have been working on a little project a few evenings lately, and tonight i finally got it working. It might not be the most optimal solution maybe, I would appreciate any tips on a better design.
What I have is a sega 3 button gamepad with all 3 buttons working on a c64, without modifying the controller itself.
I mapped button A to UP (for jumping), B to normal fire and C for commodore button 2 (few games use this, MYTH is one)
Easy to change though.
For use with an Amiga, the button 2 signal must be inverted (C64 needs signal HIGH to trigger btn2, Amiga expects LOW)
Can easily add a switch for that.
I'm also thinking i could add another 9-pin d-sub for port 1 and use the start button for games that require you to press space.
I made a 555 pulse generator for switching the select line, i think around 70hz and 99% duty cycle is what I have atm, seems to be working fine.
Button A is the hardest to get working, but i got it working with a flip-flop (I made it from nand-gates as thats all i had available atm)
Tested it using myth, where button C lets you chose weapon, and it works very good. Also tested a handful of other games, turrican, ghosts'n'goblins, etc, and A for jumping works fine as fa as i can tell.
Parts used:
2x 74ls04n hex inverter
2x 74ls08n quad and-gate
1x 74ls38n quad nand-gate (requires pull-up resistors, was all I had atm, probably better to use a RS flip-flop)
1x 555 timer for pulse generator to SELECT line on sega controller
100 nf capacitor for pulse generator
200k resistor for pulse generator
1k resistor for pulse generator



What I have is a sega 3 button gamepad with all 3 buttons working on a c64, without modifying the controller itself.
I mapped button A to UP (for jumping), B to normal fire and C for commodore button 2 (few games use this, MYTH is one)
Easy to change though.
For use with an Amiga, the button 2 signal must be inverted (C64 needs signal HIGH to trigger btn2, Amiga expects LOW)
Can easily add a switch for that.
I'm also thinking i could add another 9-pin d-sub for port 1 and use the start button for games that require you to press space.
I made a 555 pulse generator for switching the select line, i think around 70hz and 99% duty cycle is what I have atm, seems to be working fine.
Button A is the hardest to get working, but i got it working with a flip-flop (I made it from nand-gates as thats all i had available atm)
Tested it using myth, where button C lets you chose weapon, and it works very good. Also tested a handful of other games, turrican, ghosts'n'goblins, etc, and A for jumping works fine as fa as i can tell.
Parts used:
2x 74ls04n hex inverter
2x 74ls08n quad and-gate
1x 74ls38n quad nand-gate (requires pull-up resistors, was all I had atm, probably better to use a RS flip-flop)
1x 555 timer for pulse generator to SELECT line on sega controller
100 nf capacitor for pulse generator
200k resistor for pulse generator
1k resistor for pulse generator




