English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 17 February 2012, 00:25   #21
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 19,265
I will revive this thread because I got a CD32.
Did anyone in these past 6 years invent a way to use a Sega 6 button pad with the CD32? The original pad is big and clunky, although not that bad, but I still prefer the Sega one to any pad in the whole planet.
Akira is offline  
Old 17 February 2012, 01:25   #22
FOL
PSPUAE DEV

FOL's Avatar
 
Join Date: Nov 2006
Location: Barry / UK
Age: 41
Posts: 5,737
Send a message via MSN to FOL
Quote:
Originally Posted by Akira View Post
I will revive this thread because I got a CD32.
Did anyone in these past 6 years invent a way to use a Sega 6 button pad with the CD32? The original pad is big and clunky, although not that bad, but I still prefer the Sega one to any pad in the whole planet.
The CD32 has a preprogramed IC, that outputs the extra key information.
I dont think a sega pad would output the correct information.

Last edited by FOL; 17 February 2012 at 01:41.
FOL is offline  
Old 17 February 2012, 08:05   #23
Jope
-
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 39
Posts: 7,521
I actually researched the Megadrive six button issue some time ago, the protocol is more complicated than for the three button one.

A microcontroller is needed, but to my knowledge no-one's written the code for it.
Jope is offline  
Old 17 February 2012, 12:39   #24
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 19,265
Did anyone hack a CD32 pad into a Sega Megadrive enclosure, or something of the like? What f I use the contacts and buttons of the Megadrive pad but the logic of the CD32 pad?
Akira is offline  
Old 17 February 2012, 13:36   #25
FOL
PSPUAE DEV

FOL's Avatar
 
Join Date: Nov 2006
Location: Barry / UK
Age: 41
Posts: 5,737
Send a message via MSN to FOL
Quote:
Originally Posted by Akira View Post
Did anyone hack a CD32 pad into a Sega Megadrive enclosure, or something of the like? What f I use the contacts and buttons of the Megadrive pad but the logic of the CD32 pad?
That would work, if you wired the correct buttons to the correct legs on IC.
So you would be replacing the original MD Controller IC with the CD32 one.
FOL is offline  
Old 17 February 2012, 13:42   #26
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 19,265
I need a CD32 pad and a Megadrive pad to destroy...
Akira is offline  
Old 10 September 2012, 15:21   #27
s2325
Zone Friend

s2325's Avatar
 
Join Date: Jun 2006
Location: Gargore
Age: 39
Posts: 17,789
I think that was nice idea:

s2325 is offline  
Old 11 September 2012, 03:30   #28
amiman99
Registered User

amiman99's Avatar
 
Join Date: Sep 2009
Location: San Antonio, TX USA
Age: 46
Posts: 855
Here is a schematic for the CD32 controller.
http://gerdkautzmann.de/cd32gamepad/cd32gamepad.html
amiman99 is offline  
Old 11 September 2012, 03:35   #29
robinsonb5
Registered User
 
Join Date: Mar 2012
Location: Norfolk, UK
Posts: 631
I did build a PIC-based 6-button Megadrive to CD32 adapter once. The project got shelved when I got interested in FPGAs and the Minimig (not helped by my not having a fully-functional 6-button Sega pad to play with, either) - but if anyone's interested I'm sure I'll still have the PIC source and circuit diagrams somewhere.
robinsonb5 is offline  
Old 11 September 2012, 13:30   #30
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 19,265
YES! That would be just AWESOME.
Do you think it could be achieved with Arduino too? Since those are widely available and easier to program than PICs... Now there's an idea...
Akira is offline  
Old 11 September 2012, 14:19   #31
robinsonb5
Registered User
 
Join Date: Mar 2012
Location: Norfolk, UK
Posts: 631
Quote:
Originally Posted by Akira View Post
YES! That would be just AWESOME.
OK if nothing materialises within a few days give me a nudge! (At work now, so can't do anything on the spot, and I might well have forgotten by the time I get home!)

Quote:
Do you think it could be achieved with Arduino too? Since those are widely available and easier to program than PICs... Now there's an idea...
Yeah I don't see why not - as long as there are enough IOs on whichever board you use. You need 14 in total, 7 for the Megadrive pad and 7 for the Amiga. The code will need re-writing of course - it's currently PIC assembler. (16F877 if memory serves.)
robinsonb5 is offline  
Old 11 September 2012, 14:32   #32
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 19,265
I guess that if someone has the logic of how the PIC works figured out, you could rewrite it from scratch so it works in Arduino. This could be a good learning project for me to start using Arduino, maybe
Akira is offline  
Old 11 September 2012, 20:57   #33
robinsonb5
Registered User
 
Join Date: Mar 2012
Location: Norfolk, UK
Posts: 631
I remembered

Stripboard layout for the adapter is attached, and PIC asssembly source can be found here:
http://retroramblings.net/PIC/

What I can't remember now, though, is how well it worked, or whether the sega-pad reading code needed further attention. I don't currently have a fully-working 6-button pad, which is what stalled the project.
Attached Thumbnails
Click image for larger version

Name:	SegaToCD32.jpg
Views:	422
Size:	104.6 KB
ID:	32622  
robinsonb5 is offline  
Old 11 September 2012, 20:59   #34
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 19,265
Oh man this could be fantastic. I'm gonna investigate this further and see if I can make an Arduino version of it.

Thank you very much!! I love the EAB
Akira is offline  
Old 11 September 2012, 22:56   #35
robinsonb5
Registered User
 
Join Date: Mar 2012
Location: Norfolk, UK
Posts: 631
Quote:
Originally Posted by Akira View Post
Thank you very much!! I love the EAB
No problem

Keep us posted - let us know how you get on

I've just uploaded a couple of CD32 pad test programs, which might help:
http://retroramblings.net/PIC/CD32Test.lha

This might be useful too: http://www.cs.cmu.edu/~chuck/infopg/segasix.txt

The CD32 protocol is time-critical, so you'll probably need to connect the CD32 Sel pin to an interrupt pin on the Arduino, so you can react very quickly when the select line drops.
robinsonb5 is offline  
Old 23 July 2013, 18:25   #36
johey
Registered User
 
Join Date: May 2012
Location: Stockholm / Sweden
Posts: 47
I just found this thread.

Akira: Did you manage to encode the CD32 protocol with AVR? I've made something you might be interested in, even if it is not fully working yet. https://github.com/johey/superpad
johey is offline  
Old 04 September 2017, 15:43   #37
twiggy

twiggy's Avatar
 
Join Date: Nov 2008
Location: Devon, U.K.
Age: 30
Posts: 399
Old thread I know, but has anyone made any progress with this?
twiggy is offline  
Old 04 September 2017, 16:09   #38
robinsonb5
Registered User
 
Join Date: Mar 2012
Location: Norfolk, UK
Posts: 631
Quote:
Originally Posted by twiggy View Post
Old thread I know, but has anyone made any progress with this?
I built an adapter using a PSOC4 prototype board -
Background information here:

http://retroramblings.net/?p=853

Wiring details: http://retroramblings.net/?p=912
Project on Github: https://github.com/robinsonb5/SegaToCD32
robinsonb5 is offline  
Old 05 September 2017, 10:18   #39
twiggy

twiggy's Avatar
 
Join Date: Nov 2008
Location: Devon, U.K.
Age: 30
Posts: 399
Nice. Thanks for sharing. I look forward to reading the ramblings.
twiggy is offline  
Old 05 September 2017, 19:24   #40
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 19,265
Quote:
Originally Posted by robinsonb5 View Post
I built an adapter using a PSOC4 prototype board -
Background information here:

http://retroramblings.net/?p=853

Wiring details: http://retroramblings.net/?p=912
Project on Github: https://github.com/robinsonb5/SegaToCD32
I have robinsonb5's adapter, was testing it for him for a long while, it's great! Would recommend anyone building one.

Have you done any changes since the version I have, mate? Should I update the software on the prototype board?
Akira is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using CD32 pad on A1200 running CD32 games issue RetroPaul support.Games 23 15 October 2013 00:51
Using a six-button Megadrive pad as a CD32 pad StarEye support.Hardware 22 09 September 2013 04:51
Sega megadrive (genesis) control pad mod for amiga paulisthebest Hardware mods 6 29 April 2013 09:09
Wanted: Two button Pro competiton pro stick, CD32 Pad and the frist kings quest Scuba-cheese MarketPlace 7 04 February 2011 18:20
2 Button Amiga / Sega pad to USB Zetr0 Hardware pics 1 09 August 2007 08:33

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:59.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.09328 seconds with 14 queries