Homebrew How flexible are TWL_FIRM and AGB_FIRM?

metroid maniac

An idiot with an opinion
OP
Member
Joined
May 16, 2009
Messages
2,088
Trophies
2
XP
2,640
Country
It's my understanding that TWL_FIRM and AGB_FIRM are the two firmware modes responsible for running DS/i software and GBA software on the 3DS.
How much is known about how these modes work? Would they be considered emulation or running natively? I expect the latter but I'm interested in specifics.

Given that, what exactly can be done in these two firmware modes? Would features more consistent with emulation such as button remapping or save stating be physically possible?
 

Hashtastrophe

Wizard
Member
Joined
Jan 12, 2015
Messages
442
Trophies
0
Location
Yes that kind of wizard.
XP
445
Country
Canada
They are running natively. 3Dbrew will have most, if not all, of the information you're interested in. I don't know enough about the system to tell you if save states or remapping buttons is possible. I'm assuming a no unless told differently by someone that knows what they are talking about.

A few links to get you started: http://3dbrew.org/wiki/3DS_Virtual_Consolehttp://3dbrew.org/wiki/FIRM#TWL_FIRM_and_AGB_FIRM
http://3dbrew.org/wiki/FIRM#TWL_FIRM_and_AGB_FIRM
http://3dbrew.org/wiki/3DS_Virtual_Console
http://3dbrew.org/wiki/ARM7_Registers
 

MRJPGames

Pretty great guy
Member
Joined
Aug 17, 2013
Messages
1,199
Trophies
1
Location
The Netherlands
Website
fizazy.com
XP
1,676
Country
Netherlands
Regular VC titles: an emulator application + VC ROM in the NCCH RomFS(among other things in the RomFS). The emulator build includes support for all supported VC platforms, not specific to just the included ROM platform.

This emulator includes GBA support, however the GBA emulation for this this is somewhat slow. This was presumably implemented before AGB_FIRM was.

Does that mean GW can run the GBA emulator included in VC titles?! And this would be great for pasta so you don't have to reboot it every time. Hopefully it will run near full speed in some games that are less hardware intensive!
 
Last edited by MRJPGames,

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,317
Trophies
4
Location
Space
XP
13,897
Country
Norway
Modding TWL_FIRM and AGB_FIRM to add support for that and things like AR codes should be theoretically possible.
After all, it's not a pure DS/GBA mode, the home button still responds and you can cancel out of that menu without disrupting the game, so there's still something running in the background.
 

metroid maniac

An idiot with an opinion
OP
Member
Joined
May 16, 2009
Messages
2,088
Trophies
2
XP
2,640
Country
Modding TWL_FIRM and AGB_FIRM to add support for that and things like AR codes should be theoretically possible.
After all, it's not a pure DS/GBA mode, the home button still responds and you can cancel out of that menu without disrupting the game, so there's still something running in the background.

But then it depends on the amount of control the background process has on the state of the game running.
If we look at AGB_FIRM and the fact that game execution can't even be paused for sleep mode, then it seems this background process has extremely little control over how the game process can work.
Forgive me if I'm getting this wrong or are speaking stupidly.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,317
Trophies
4
Location
Space
XP
13,897
Country
Norway
But then it depends on the amount of control the background process has on the state of the game running.
If we look at AGB_FIRM and the fact that game execution can't even be paused for sleep mode, then it seems this background process has extremely little control over how the game process can work.
Forgive me if I'm getting this wrong or are speaking stupidly.
We can mod AGB_FIRM and TWL_FIRM to give the background process full access, or even spawn a new process just for the purpose of adding more features, so that's not really an issue, it's just a matter of figuring things out. It's all theoretical and I certainly won't be the one to do it, but it is possible.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Ill stick with my Battlefield. Yea a predator hunting game like that would be cool. Esp if you can be Arnold and say "Get to da choppa"
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe Arnold could do a cameo voice acting, he is the one briefing you on the mission
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Honestly surprised they didn't make a tie in game for Predators that movie was awesome
  • Psionic Roshambo @ Psionic Roshambo:
    I was kinda sad the Yakuza guy died sword fighting a predator lol
  • Psionic Roshambo @ Psionic Roshambo:
    The Russian guy went out like a boss
  • Psionic Roshambo @ Psionic Roshambo:
    Double claymores to the face definitely kill a predator lol
  • BigOnYa @ BigOnYa:
    I went today and looked at a motorcycle someone was selling. I get there and the battery on it was dead, so the guy grabbed a battery charger and hooked it up. He plugged it into the wall, and the motorcycle sparked and started smoking. Come to find out the bike uses a 6 volt battery and the guy had the charger set to 12v. I said sorry to the dude and walked away. I felt bad for him tho.
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds like it would be an exciting ride....
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure I would want something on fire between my legs
  • BigOnYa @ BigOnYa:
    He ruined it basically. Sad cause it was a decent old bike. It would take more money to rewire the bike than it was worth tho.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah I'm sure at minimum the starter was fried
  • Psionic Roshambo @ Psionic Roshambo:
    Alternator and battery
  • BigOnYa @ BigOnYa:
    Prob alot of fried parts. It was still smoking when I left.
  • K3Nv2 @ K3Nv2:
    I would've said show me how it rides
  • Psionic Roshambo @ Psionic Roshambo:
    I always wanted one of those Smart Cars with a Hyabusa motor in it.
  • K3Nv2 @ K3Nv2:
    I'm getting sick and tired of cheap ass baking pans now
  • BigOnYa @ BigOnYa:
    I think it be cool to have one that would fit in my pickup truck bed, then I could put down ramps n drive it off.
  • K3Nv2 @ K3Nv2:
    Used this one 5 times already impossible to clean
  • BigOnYa @ BigOnYa:
    You need the $900 copper coated ones, they are good for 10 times cooking before they are un cleanable
  • Psionic Roshambo @ Psionic Roshambo:
    Condoms are only meant to be used once Ken lol
  • K3Nv2 @ K3Nv2:
    Well damn that explains how you were born
  • BigOnYa @ BigOnYa:
    I tried Cavier for the first time today. That shit is nasty. Don't get why people like it.
    BigOnYa @ BigOnYa: I tried Cavier for the first time today. That shit is nasty. Don't get why people like it.