go-play icon indicating copy to clipboard operation
go-play copied to clipboard

[Request] Wireless & link cable emulation

Open scndthe2nd opened this issue 6 years ago • 8 comments

This might be beyond the scope of this project, but for gameboy games that allow for link cable sharing, setting up peer to peer wifi might be neat.

It might also be useful to allow for connection to wifi as a fileshare in order to remotely manage files from a phone or computer.

Once again, may be beyond the scope of the project.

scndthe2nd avatar Sep 30 '18 15:09 scndthe2nd

The main issue preventing this is GB/GBC consumes almost all the resources of the ESP32. There is not enough left to use a wifi/bt stack based on tests I conducted.

If anyone in the community can achieve a configuration/implementation with multiplayer support, I would be happy to review a pull request.

OtherCrashOverride avatar Oct 01 '18 08:10 OtherCrashOverride

How about a physical cable? I haven't code in C for years but I am happy to look into this if you can give my a few hints where to look. I have ordered 2 odroid-go for testing this. :)

cashlo avatar Oct 26 '18 15:10 cashlo

While I acknowledge the challenges I have to echo the desire for a link of some kind. It's not critical, just a cool thought. Thank you for what we have at this point. What a great little system.

I 2nd that, I would love to have gameboy/gbc link multiplayer somehow!!!

JasonB32 avatar Oct 27 '18 03:10 JasonB32

I have started to work on this on my fork, the GO have exactly right number of free pins at the top. :D I got it to send and receive the signal at spec, but still need to work on all the interrupts and timing... Any suggestions / comments / helps are welcome.

cashlo avatar Nov 03 '18 18:11 cashlo

It would be pretty neat if the actual implementation of the physical protocol is emulated. Connecting it to a real gameboy would def be in the realm of possibility.

geraldjust avatar Nov 05 '18 09:11 geraldjust

That's my goal, I am implementing the protocol following the one described in the GameBoy programming manual, but I don't have original hardware to test with (yet). One problem I see now is that when I put the clock at 8kHz ( frequency used on DMG ), the audio started cracking. I don't really know why that happens, but I am optimistic about getting it to work with a real GameBoy. :)

cashlo avatar Nov 05 '18 10:11 cashlo

It will also be interesting to look into IR communication in GBC, just putting this here for future reference: https://shonumi.github.io/articles/art11.html

cashlo avatar Nov 08 '18 16:11 cashlo