You are not logged in.
Pages: 1
Is there any info out there on how they hooked internet capabilities into the RBY ROMs? I was thinking they might be using an unused CPU instruction, or writing certain values to unused I/O registers.
If either of those are true, that would mean you could potentially hook into the wireless capabilities with the games' arbitrary code execution vulnerabilities.
My hacks: Pokémon Maize, Pokémon Red: Battle Factory
Offline
That could have been the advantage of using an unregistered CPU instruction, but it seems unlikely.
It may have to do with the 3DS infrastructure and how the Gen 1 games on there allowed for a simple routing towards the wireless/infrared devices. And it may have nothing to do with the CPU when it comes to the data transfer in the first place.
It's just my speculation...
Offline
I mean, there has to be some kind of hook that is "native" to the GameBoy's architecture. The 3DS's gameboy emulator has some way of recognizing that the game is signaling "Hey, I want to use the internet now". Or, maybe it's saying "Hey, I want to use the 3DS's predefined RBY trading stuff now". I'm just curious if we know how that hook is implemented from the GameBoy code's perspective.
My hacks: Pokémon Maize, Pokémon Red: Battle Factory
Offline
As with the above user, this is just speculation, but I've just assumed it would use functionality that was originally tied to the Gamelink Cable, which doesn't exist on the 3DS of course, and the emulator would read the game trying to establish a link cable connection and convert it as a connection to the wifi. And then of courses, the routines in question would have been modified to take this account, due to presumably different communication speeds and timeouts and various things like that.
I am not very active on this forum. I only pop in from time to time.
Offline
I don't think that would work for the same reason it takes forever to perform a trade via BGB's networking capabilities. The link cable communicates extremely fast, and is reading single bytes (or bits even?) at a time. Whereas, it would take 10's or 100's of milliseconds to communicate a single packet over the internet.
My hacks: Pokémon Maize, Pokémon Red: Battle Factory
Offline
You can try to hide yourself in this world of pretend; when the paper's crumpled up, it can't be perfect again.
Offline
Its a plain text patch file
This isn't easy to say, but…
Music and ASM hacker
Offline
yes
You can try to hide yourself in this world of pretend; when the paper's crumpled up, it can't be perfect again.
Offline
I don't think that would work for the same reason it takes forever to perform a trade via BGB's networking capabilities. The link cable communicates extremely fast, and is reading single bytes (or bits even?) at a time. Whereas, it would take 10's or 100's of milliseconds to communicate a single packet over the internet.
i have a flash cart for my dsi, and i can trade local/lan connection between the gen 1 and 2 games.it traded around the same speed as the cable also. the emulator is gameyob. maybe you could learn something from that?
Last edited by wisejustin (2016-12-28 06:51:23)
Offline
It would be much faster if you sent joypad input over the wire and just emulated the gb on the other end of the link cable.
Offline
Pages: 1