Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2016-02-27 01:37:51

ShantyTown
Member
Registered: 2013-12-04
Post 252/344

RBY on 3DS Wireless Implementation?

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.

Offline

#2 2016-02-27 03:24:16

narabuster
New member
Registered: 2016-01-21
Post 7/9

Re: RBY on 3DS Wireless Implementation?

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

#3 2016-02-27 04:03:54

ShantyTown
Member
Registered: 2013-12-04
Post 253/344

Re: RBY on 3DS Wireless Implementation?

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.

Offline

#4 2016-02-27 04:29:46

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 3,249/3,578

Re: RBY on 3DS Wireless Implementation?

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.

Offline

#5 2016-02-27 06:13:21

ShantyTown
Member
Registered: 2013-12-04
Post 254/344

Re: RBY on 3DS Wireless Implementation?

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.

Offline

#6 2016-02-29 05:43:41

stag019
Idea Killer
Registered: 2011-01-05
Post 629/630

Re: RBY on 3DS Wireless Implementation?


You can try to hide yourself in this world of pretend; when the paper's crumpled up, it can't be perfect again.

Offline

#7 2016-03-10 19:45:28

FroggestSpirit
Member
Registered: 2012-03-12
Post 269/300
Website

Re: RBY on 3DS Wireless Implementation?

Its a plain text patch file


This isn't easy to say, but…
Music and ASM hacker

Offline

#8 2016-03-11 13:17:32

stag019
Idea Killer
Registered: 2011-01-05
Post 630/630

Re: RBY on 3DS Wireless Implementation?

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

#9 2016-12-28 06:50:50

wisejustin
Member
From: Kanto
Registered: 2015-01-04
Post 95/131

Re: RBY on 3DS Wireless Implementation?

ShantyTown wrote:

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

#10 2017-01-02 00:47:39

comet
Member
Registered: 2012-04-09
Post 672/679

Re: RBY on 3DS Wireless Implementation?

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

Board footer

Powered by FluxBB