Hacking GBA Emu?

Gadorach

Electronics Engineering Technologist
Member
Joined
Jan 22, 2014
Messages
970
Trophies
0
Location
Canada
XP
956
Country
Canada
Umm, have you forgotten the Ambassador games? The question, I think, isn't really of whether or not it CAN run GBA games, as we already know it can. The question is more "Do we have enough privileges to invoke AGB_FIRM from inside a 3DS game or not?", to which I believe the answer is a resounding "No.". Now, to whether or not we can write our own emulator to replace AGB_FIRM, that's another question entirely.
 

DinohScene

Gay twink catboy
Global Moderator
Joined
Oct 11, 2011
Messages
22,532
Trophies
4
Location
Восторг
XP
22,750
Country
Antarctica
Umm, have you forgotten the Ambassador games? The question, I think, isn't really of whether or not it CAN run GBA games, as we already know it can. The question is more "Do we have enough privileges to invoke AGB_FIRM from inside a 3DS game or not?", to which I believe the answer is a resounding "No.". Now, to whether or not we can write our own emulator to replace AGB_FIRM, that's another question entirely.

I'm no expert on the 3DS but Smea said we could do everything a 3DS game/app can do.
Virtual console games are "apps" so it should be possible to invoke AGB_FIRM as well.
 
  • Like
Reactions: Margen67

TecXero

Technovert
Member
Joined
Apr 13, 2014
Messages
2,810
Trophies
0
Location
Mainframe
XP
1,040
Country
United States
It probably wouldn't have to emulate that much, most of it could probably be done in a simulation wrapper. It's just a matter of having the privileges to access the right resources. Just give it time, normally a device isn't figured out and doesn't get the better homebrew until towards the end of its commercial life. PSP, Wii, and Dreamcast were the exception.
 

Gadorach

Electronics Engineering Technologist
Member
Joined
Jan 22, 2014
Messages
970
Trophies
0
Location
Canada
XP
956
Country
Canada
I'm no expert on the 3DS but Smea said we could do everything a 3DS game/app can do.
Virtual console games are "apps" so it should be possible to invoke AGB_FIRM as well.
The apps are signed with code that tells the FIRM to start TWL_FIRM and invoke AGB_FIRM at launch. This is done by the firmware itself, not the app. Heck, according to 3DBrew, we can't even figure out how it all works as the core debugging is shut off from that point on and we can't get any data back from the processes. We would have to make our own emulator, as only FIRM has the authority to shutdown the ARM9 security co-processor and switch it to DSi mode, which is needed to invoke AGB_FIRM and start GBA mode. Also, there's no access to FIRM or anything else from that point on, as TWL_FIRM takes over. The process even restarts the 3DS using the I2C chip to power-cycle the system on close. In short, I really can't see us being able to do this at all past CFW, and even Team Gateway hasn't figured out how to get it working again once its broken, so that might be a while.
 
  • Like
Reactions: st4rk

alexenochs

Well-Known Member
Member
Joined
Aug 30, 2010
Messages
464
Trophies
1
XP
844
Country
United States
Your kidding right simple answer is yes it can easily emulate GBA :)
Your kidding right? Do you know anything about 3ds hardware? We might see some games run full speed in an emulator that is if someone decides to take on the project but don't say it can easily emulate something Nintendo started on an emulator for it which can be.found inside a gbc vc game but halted production on it because it would be cheaper to implement a hardware solution...you see the 3ds doesn't emulate gba games it runs them off of gba hardware it's literally a gba on a chip inside the 3ds
 

SSG Vegeta

Well-Known Member
Member
Joined
Jul 25, 2013
Messages
682
Trophies
1
XP
1,419
Country
United States
Your kidding right? Do you know anything about 3ds hardware? We might see some games run full speed in an emulator that is if someone decides to take on the project but don't say it can easily emulate something Nintendo started on an emulator for it which can be.found inside a gbc vc game but halted production on it because it would be cheaper to implement a hardware solution...you see the 3ds doesn't emulate gba games it runs them off of gba hardware it's literally a gba on a chip inside the 3ds

I was talking about the official way
 

TidusWulf

Real Aloha
Member
Joined
Jul 27, 2007
Messages
653
Trophies
1
Location
Hawaii
XP
775
Country
United States
That's what I'm saying. If GBA ROMs are going to happen on the 3DS, it's most likely to come from injecting GBA ROMs into sideloaded VCs. We're not there yet, but if Nintendo has already released GBA games via VC, then we already have a proven working emulator. The hard part is replacing the game that comes with the VC with one of our choosing.
 

SuperrSonic

Well-Known Member
Member
Joined
Dec 9, 2011
Messages
807
Trophies
1
XP
2,296
Country
Puerto Rico
Well perhaps a real emulator is the best thing anyway, because of savestates and stuff like that.
To me it isn't, the ambassador games have all the stuff homebrew emulators don't have. Similar to the GB Player, you get motion blur, correct colors and a sharp upscale filter that isn't possible from hardware. I'm not saying it's impossible to include these things just that no homebrew emu did and if they did, performance would likely take a hit.
There's no way to prove it yet but I like to go with; the GBA games are rendering at 2x and get scaled to 360x240 along with hardware bilinear. Which is why they're sharper than DS games.
 

alexenochs

Well-Known Member
Member
Joined
Aug 30, 2010
Messages
464
Trophies
1
XP
844
Country
United States
when gateway releases a way to run gba games then we can talk about vc injections i was onboard the train for the other injections i will say though any features that arent in the vc games for gba games currently wont be able to be implemented anytime later it litterally boots into gba mode from a chip on the 3ds it cant access any of the nice hardware from the 3ds
 

SonicRings

Well-Known Member
Member
Joined
Oct 7, 2012
Messages
1,827
Trophies
1
Location
Johto
XP
1,851
Country
Canada
GBA emulation is a cool target to reach for 3DS homebrew, but what can be done on the 3DS that hasn't already been done on Wii, DS and GBA? I'm curious to know because I bought a copy of Cubic Ninja today and would like to know if it's worth keeping.
 

slowmotioning

Well-Known Member
Member
Joined
Nov 1, 2014
Messages
106
Trophies
0
Age
35
XP
656
Country
United States
GBA emulation is a cool target to reach for 3DS homebrew, but what can be done on the 3DS that hasn't already been done on Wii, DS and GBA? I'm curious to know because I bought a copy of Cubic Ninja today and would like to know if it's worth keeping.


The 3D aspect is unique to the 3DS, so some more unique offerings can be made. I'd like to see a media player implemented myself.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @salazarcosplay, yes