OtherCrashOverride / go-play

Retro emulation for the ODROID-GO
https://www.hardkernel.com/shop/odroid-go/
218 stars 72 forks source link

[Request] Wireless & link cable emulation #72

Open scndthe2nd opened 5 years ago

scndthe2nd commented 5 years ago

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.

OtherCrashOverride commented 5 years ago

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.

cashlo commented 5 years ago

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. :)

Stridermt2k-MichaelThompson commented 5 years ago

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.

JasonB32 commented 5 years ago

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

cashlo commented 5 years ago

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.

geraldjust commented 5 years ago

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.

cashlo commented 5 years ago

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 commented 5 years ago

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