Hacking How does a flash cart work?

Dj DiLorenzo

New Member
OP
Newbie
Joined
Apr 11, 2014
Messages
1
Trophies
0
Age
29
Location
Arizona
XP
61
Country
United States
First off let me thank the GBATEMP community for having a great website and forum. I have been watching some post for awhile but finally registered today. I have owned a few flashcarts between gba ones and the r4i.
My question is how exactly is the rom emulated through the cartridge. I am aware there is a storage medium for the roms to be place in, but what processes occur between the console and the cartridge. any and all opinions answers greatly appreciated.
 

CIH137

Well-Known Member
Member
Joined
Dec 9, 2013
Messages
148
Trophies
0
Age
33
XP
143
Country
United States
Well from my understanding, to emulate other game consoles, that the 3ds wasn't made specifically to play, there needs to be sufficient hardware. The psp and 3ds have similar processing power, i think, but Since the 3ds was not made to play those kinds of games, chances are it will never be emulated on the 3ds. DS games are made to play on 3ds so there is no compatibility issue with DS roms, but in the case of the original ds, if you used a flash cart, it was better to have a supercard ndstwo to help process gba games. While the ds could play gba games, it was from a seperate slot so that processing power was probably lost or separate from the DS game slot.


This is my understanding, and I think is is pretty accurate. As for the insides, I think it just uses the extra processing power necessary to treat the 3ds part as the gba part and so fourth.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,373
Country
United Kingdom
Emulation, as CIH137 was getting at, is the wrong term. It refers to the running of code intended for another system via some form of code manipulation. Flash carts tend to run code on the hardware it was intended to run on, occasionally then lend extra processing power but that is also not unheard of on the consoles themselves (the NES and SNES were notorious for this).

Current 3ds carts then.

From my understanding the carts use a collection of bugs starting with DS mode (hence the extra loader cart/software, said bug also present until quite recently) and ending with a kernel level bug (which was present until system menu 4.5) to take over the system. If you own the kernel then you own the system, in this case they use that ownership to redo a bunch of code pertaining to the reading of 3ds carts.
The second cart is something of a retooled DS flash cart which the newly hacked kernel can instead direct 3ds cart reads to, apparently in something resembling DS protocol rather than 3ds protocol (which is different). Most flash cart setups do not always have this luxury, though GBA slot DS flash carts are another example, and will actually try to mimic the proper read protocol. Failures to do this are often used as anti piracy methods -- trying to read below address 8000h on a DS cart would fail in a given way, earlier DS flash carts did respond properly here and thus what I am told is the most common DS anti piracy method was born.

Once the signals come into the 3ds cart the onboard chip translates these reads into reads for the microSD card and sends them back in the appropriate format (this is why flash carts would have a device like a CPLD or a FPGA onboard to do this -- they are programmable chips and very well suited to just this sort of task). It does a similar thing for any save requests, though how each flash cart does this did vary on the DS and I am not sure what they are doing on the 3ds.

Along the way they added the option to trick the 3ds into thinking the NAND image (where the kernel and a lot more is stored when it is not running) was in fact on the SD card. As they own the kernel they can also run homebrew of various forms hence things now having a menu. Multirom is then a basic abstraction if you have a filesystem in place, the early MT card stuff seemed to take the N64 third party memory pack route of have multiple pages swapped with a button (obvious and pointless in the long run but if it sells you a few flash carts to people that are willing or clueless then what the hey).
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    Psi couldn't pay hospital bills lol.
  • Psionic Roshambo @ Psionic Roshambo:
    He found out how much the ambulance ride was going to cost lol
    +2
  • K3Nv2 @ K3Nv2:
    @BigOnYa, so one the salesman told him would get him bitches
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    In my experience women like a big shift stick with lots of power.
  • Psionic Roshambo @ Psionic Roshambo:
    Something that really burns rubbers
  • BigOnYa @ BigOnYa:
    Only thing a nice car will get you is a gold digger. What happened to falling in love, no matter if I'm on a bus, or driving a nice car. No offense tho, I do like nice cars.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Nothing like tearing ass up on a back road
  • Psionic Roshambo @ Psionic Roshambo:
    BigOnYa I think narcissism has all but killed love
    +2
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, I think I can agree on that.
    +1
  • K3Nv2 @ K3Nv2:
    People tend to think look at everything I have gains attention but ends up making them look worse for what it is
    +1
  • BigOnYa @ BigOnYa:
    It would be funny to pick up a girl in a real expensive car, then next date show up in a piece o shit car just to see her reaction. If she was real, it wouldn't matter.
  • Psionic Roshambo @ Psionic Roshambo:
    Everyone is disposable and replaceable, lies and deception are the coin of the realm. I have never felt so alone and so at odds with the world.
  • K3Nv2 @ K3Nv2:
    I don't think we should see others as disposable just if they can show any glimps of care about humanity should be forgiven
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, she would leave you inmediately
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    For a time I considered creating a new big bang. Wipe the slate clean and start from scratch....
  • K3Nv2 @ K3Nv2:
    Your closest friend probably talks negative about you the most
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I know I talk shit about that Ken guy constantly lol
    +1
  • K3Nv2 @ K3Nv2:
    Yeah I just had to consile it's a age thing and I can get erect
    +1
  • BigOnYa @ BigOnYa:
    Right.. Take a number
  • SylverReZ @ SylverReZ:
    @BigOnYa, Binkinator is still around you guys. I just saw him in one of the Discord servers that I'm in.
  • K3Nv2 @ K3Nv2:
    People get more mad when they learn you aren't as dimwitted as they think
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, that guy who was dissappeared?
    SylverReZ @ SylverReZ: @Xdqwerty, Yes.