Page 1 of 1

GC custom peripherals

Posted: Wed Sep 17, 2014 3:48 am
by Lollipop
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

Re: GC custom peripherals

Posted: Wed Sep 17, 2014 3:52 am
by emu_kidid
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

Re: GC custom peripherals

Posted: Wed Sep 17, 2014 3:59 am
by Lollipop
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?

Re: GC custom peripherals

Posted: Wed Sep 17, 2014 4:08 am
by emu_kidid
Serial Port = SPI protocol, ~27MHz.

HSP port would be best.

Re: GC custom peripherals

Posted: Wed Sep 17, 2014 10:29 pm
by Lollipop
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?

Re: GC custom peripherals

Posted: Wed Sep 17, 2014 11:13 pm
by emu_kidid
It's mapped to a spot after ARAM, it's a SDRAM interface I believe.

Re: GC custom peripherals

Posted: Wed Aug 28, 2019 12:35 pm
by Papy.G
It's an error in YAGCD, the BBA port is called Serial Port 1, the other little serial port is called Serial Port 2, both are serial ports. The Hi Speed Port is a memory bus expansion port.

Bit-banging IOs is the worse thing that can be done, in terms of bandwith and CPU load, sometimes it is better than nothing, but nowadays, it is abusively used in each and every application with the hype of SBCs we see all over (RPi/Arduino…).

Is the Hi-Speed Port the bus where the triforce expansions were connected?
I was just wondering how data and adresses are multiplexed, since YAGCD says that it is adressable on the ARAM bus over the ARAM's 16MB, but don't manage to figure out how it can adress more than 16MB, because of the bus width. Also, will a memory expansion card need much logic aside the ram chips, and what kind of chips will it need?