GBA wireless adapter emulated on 3DS

davidgf

Active Member
OP
Newcomer
Joined
Mar 25, 2011
Messages
29
Trophies
1
XP
454
Country
Ok the title is a partial clickbait, sorry for that! This might belong to the GBA forum perhaps, but 3DS owners might also welcome it.
I spent the past month working on reversing the GBA wireless adapter along with some folks who already did in the past or are doing right now. I implemented this on my gpsp's fork (which is the one Retroarch uses) and now games that support it, can use it. But before I bore you guys with details, the video:



Retroarch 1.17 (unreleased) will ship some netplay features that enable emulators to use some sort of network layer. This allows players to run their own ROM and savegame and interact with players that use the same console (and similar or identical ROM).

The video shows a Linux laptop (running on x86-64), Android phone (a xiaomi running Retroarch aarch64) and the 3DS which runs armv7 binaries.
There are some issues here and there, and the network latency really hurts games like Pokemon (whcih seem to do some active waiting in some places!), but on LAN/Wifi works really well so far. The new 3DS is not that powerful (to put it in perspective): gpsp can "only" run at 2-3x speed.

I would have made a video with two 3DS but I only have one! I wanted to use my Wii but I'm too lazy to set it up and it's getting late already. I only tested pokemon but I think some other games like Megaman do work. Stay tuned for more updates!
 

DSoryu

GBA/NDS Maniac
Member
Joined
May 5, 2010
Messages
2,373
Trophies
2
Location
In my house
XP
4,824
Country
Mexico
Exciting news! congrats!

This could also be implemented in open_agb_firm, which would be a better option since it runs in native GBA mode on the 3DS. According to oaf main dev:
profi200: With some trickery i think this is doable on 3DS hardware. ARM11 will have to handle WiFi/local wireless and ARM7/11 will have to communicate via one of the unintended "side channels".
 

davidgf

Active Member
OP
Newcomer
Joined
Mar 25, 2011
Messages
29
Trophies
1
XP
454
Country
Thanks for the feedback. I was not aware of that project, but it would be super amazing to implement some sort of wireless compatibility layer. I also learned (thanks to your comment) that some similar projects exist for DS/DSi (like GBARunner2 ?). Perhaps we could have some sort of compatibility layer there too, would be amazing to use the DS wifi to play GBA games that support it!
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
DS hardware can definitely do it, the tricky part is getting the IPC / FIFO hardware running at full speed, due to audio playback, along wireless. ToolchainGenericDS does implement a very stable IPC / FIFO hardware API (tested with ARM7DLDI + WIFI, or ARM7DLDI + Audioplayback between ARM7 <-> ARM9), but as soon as you initialize wireless while using ARM7DLDI + Audioplayback (be it entirely on ARM7 or ARM7 / ARM9 shared), interrupts get in the way and generate IPC / FIFO hardware overflows.
 
  • Like
Reactions: anotherthing

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
    K3Nv2 @ K3Nv2: @BigOnYa...