GC custom peripherals

Post Reply
Lollipop
Posts: 22
Joined: Wed Jun 12, 2013 1:11 am

GC custom peripherals

Post by Lollipop » Wed Sep 17, 2014 3:48 am

Hi guys,

So I'm interested in making custom peripherals for the Gamecube and the Hi Speed Port and Serial Port seem to have a lot of potential (besides controller ports of course). I just wanted to know if there is much support for this kind of stuff in the libogc libraries and such. If not I guess we could just bit bang it?

For example. How likely would it be that we could take a camera or say DVD player that outputs composite video and then feed it into one of the ports and have the same signal then pushed out from the GC's AV port (I know it sound redundant).

I think this is possible? At least the hardware should be adequate since the Gameboy Player does most of the hardware emulation and the GC essentially just acts as a mediator/interpreter for the controller/player, the screen, and the Gameboy Player.

Thanks,

Lollipop
User avatar
emu_kidid
Site Admin
Posts: 4462
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: GC custom peripherals

Post by emu_kidid » Wed Sep 17, 2014 3:52 am

libOGC can talk to the serial ports but there is no current support for the HSP, although it wouldn't take much for either.

Your ideas are very redundant btw :P
Image
Lollipop
Posts: 22
Joined: Wed Jun 12, 2013 1:11 am

Re: GC custom peripherals

Post by Lollipop » Wed Sep 17, 2014 3:59 am

Thanks for the replay emu_kidid Of course I can't give away all my ideas right off the bat right? ;) And just wondering but will the serial port be fast enough for stuff like video?
User avatar
emu_kidid
Site Admin
Posts: 4462
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: GC custom peripherals

Post by emu_kidid » Wed Sep 17, 2014 4:08 am

Serial Port = SPI protocol, ~27MHz.

HSP port would be best.
Image
Lollipop
Posts: 22
Joined: Wed Jun 12, 2013 1:11 am

Re: GC custom peripherals

Post by Lollipop » Wed Sep 17, 2014 10:29 pm

hm... on the libOGC documentation the highest EXI device frequency listed is 32 MHz

http://libogc.devkitpro.org/group__exi__speed.html

Ok now after reading YAGCD and the libogc documentation, I'm confused as to what the hi speed port actually is. Under YAGCD 2.4.1 Connectors, there is a "High Speed Port" listed but only 8 pins are listed. The hi-speed port that the Gameboy player uses has a total of 36 pins, the same as the "SDRAM/Parallel Port" listed under YAGCD. Is there another port that I am unaware of?
User avatar
emu_kidid
Site Admin
Posts: 4462
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: GC custom peripherals

Post by emu_kidid » Wed Sep 17, 2014 11:13 pm

It's mapped to a spot after ARAM, it's a SDRAM interface I believe.
Image
Post Reply