Hacking What simple thing could lead to DS emulation?

  • Thread starter Deleted User
  • Start date
  • Views 16,690
  • Replies 159
  • Likes 3

Roboman

Well-Known Member
Member
Joined
Jan 7, 2016
Messages
313
Trophies
0
Age
28
XP
752
Country
United States
DS's only have 4mb of ram. The old 3DS has 128 mb of ram and 6mb of VRAM

--------------------- MERGED ---------------------------


N3DS has 2 GB RAM: 128 MB FCRAM, 4 MB VRAM

O.o
With so much ram maybe the N3ds can use the arm 11 to listen to the cart bus and reply appropriately like a cart would, using ram to store the rom.
 

dubbz82

Well-Known Member
Member
Joined
Feb 2, 2014
Messages
1,572
Trophies
0
Age
41
XP
1,215
Country
United States
Plus the games only need ~ 4mb of ram


This is still overlooking the fact that DS games are explicitly designed to work with a cartridge slot...so okay, we somehow work out how to load the game into RAM, and then we also work out how to allow TWL to access all of the systems RAM...we're still sitting back at square one with the games still trying to communicate with the cart slot.
 

astronautlevel

Well-Known Member
Member
Joined
Jan 26, 2016
Messages
4,128
Trophies
2
Location
Maryland
Website
ataber.pw
XP
5,008
Country
United States
Plus the games only need ~ 4mb of ram
GBA virtual console works by loading the entire game into RAM and emulating a SLOT-2 using that. A similar method would require us to load the entire DS game into RAM and emulate a SLOT-1, which won't work for a lot of games, even on the n3ds, simply because there's not enough RAM. Even so, we didn't get GBA virtual console until Nintendo released it, in which case we figured out simply how to get it to load other roms. Unless Nintendo releases something it's unlikely to happen.

This topic has been beaten to death hundreds of times on these forums. This thread is really pointless.
 
Last edited by astronautlevel,

Billy Acuña

Well-Known Member
Member
Joined
Oct 10, 2015
Messages
3,126
Trophies
1
Age
31
XP
3,701
Country
Mexico
How works the MIOS on Wii y comparation of the TWL on 3DS?
If I'm not wrong, the MIOS tries to read from the DVD lector like TWL (NTR exactly) tries to read from the Slot-1, right?
 
  • Like
Reactions: Halvorsen

astronautlevel

Well-Known Member
Member
Joined
Jan 26, 2016
Messages
4,128
Trophies
2
Location
Maryland
Website
ataber.pw
XP
5,008
Country
United States
How works the MIOS on Wii y comparation of the TWL on 3DS?
If I'm not wrong, the MIOS tries to read from the DVD lector like TWL (NTR exactly) tries to read from the Slot-1, right?
Unfortunately, I know very little about Wii hacking.

I was going to edit my post to address the issue with idea number 7, but I'll post it here:

DSi homebrew was already made to load files from the SD card. However, nds retail roms load their data from the Slot-1. It is incredibly difficult to change how it would load its files without the source.
 
  • Like
Reactions: Billy Acuña

astronautlevel

Well-Known Member
Member
Joined
Jan 26, 2016
Messages
4,128
Trophies
2
Location
Maryland
Website
ataber.pw
XP
5,008
Country
United States
Apache Thunder said we should start from there because he was able to get a similar result with another operation. He thought we could MOD the HBMenu
As I stated, a fundamental problem with this is that DS games are programmed to load games from Slot-1, not from the SD. It is nearly impossible to change how they load files without the source code to the rom. No amount of mods to the HBMenu can change that.

Even creating a fake partition will do nothing unless we can have the NDS roms themselves load files from that partition. NDS roms load files directly from Slot-1, not from anywhere else, and we can't emulate that hardware without loading the entire ROM into the RAM, and I've already stated the problems with that.

Even so, we'd need Nintendo to release something for that, which I doubt they'll do because they've already proven DSiWare recompilation is a suitable way to release DS games, and the 3DS already has a physical slot-1.
 

frosty5689

Well-Known Member
Member
Joined
Jan 30, 2016
Messages
146
Trophies
0
Age
70
XP
170
Country
It does not only require 4 MB of RAM to load NDS ROM into memory. We need a little bit more than the size of the ROM. Why? Because TWLfirm doesn't know what the heck is sdcard so it will be simplest to redirect all request to read slot1 by twlfirm to some region of memory on the 3ds firmware syscall that interact with twlfirm. Assuming there is any, from the way the 3ds have to reboot to play nds games, there doesnt seem to be anything left of 3ds firmware once twlfirm starts.
 
  • Like
Reactions: astronautlevel

astronautlevel

Well-Known Member
Member
Joined
Jan 26, 2016
Messages
4,128
Trophies
2
Location
Maryland
Website
ataber.pw
XP
5,008
Country
United States
It does not only require 4 MB of RAM to load NDS ROM into memory. We need a little bit more than the size of the ROM. Why? Because TWLfirm doesn't know what the heck is sdcard so it will be simplest to redirect all request to read slot1 by twlfirm to some region of memory on the 3ds firmware syscall that interact with twlfirm. Assuming there is any, from the way the 3ds have to reboot to play nds games, there doesnt seem to be anything left of 3ds firmware once twlfirm starts.
This is precisely the problem. The n3ds doesn't have enough ram to even hold some nds games. Even so, we have no method to emulate TWL Slot-1 without Nintendo releasing something.
 

astronautlevel

Well-Known Member
Member
Joined
Jan 26, 2016
Messages
4,128
Trophies
2
Location
Maryland
Website
ataber.pw
XP
5,008
Country
United States
How about this?:

We would need to ADD a CIA that brings you to a menu and you can select which game you want- then reboots into a different partition on the SD card (like EmuNAND) that is a virtual copy of TWL_Firm that redirects all saves and access to the extra partition and has the game loading
Easier said than done. WAY easier said than done. How do you plan on redirecting all the calls to Slot-1, without the source of the NDS rom?
 

James310

Well-Known Member
Member
Joined
Oct 4, 2015
Messages
977
Trophies
0
Location
Somewhere in California
XP
883
Country
United States
"3ds have native ds emulation" How can something be native and emulated cause you cant have both, the problem is ds is running natively and we have almost little control with it, this year lots of progress been made to being able to use it, it's even possible to run the dsi homebrew channel now from the 3ds homemenu
Edit: it autocorrect everything :/
 
Last edited by James310,

astronautlevel

Well-Known Member
Member
Joined
Jan 26, 2016
Messages
4,128
Trophies
2
Location
Maryland
Website
ataber.pw
XP
5,008
Country
United States
"3ds have native ds emulation" How can something be native and emulated cause you cant have both, the problem is ds is running natively and we have almost little control with it, this year it's of progress been don't to control it and use it, it's even possible to run the dsi homebrew channel now from the 3ds homemenu
The DSi had an SD card slot though. We've been able to get DSiWare running fine. DS never had an SD card slot though which is why we've made almost no progress.

--------------------- MERGED ---------------------------

All my previous complaints still stand.

Slot-1 is NOT a partition in TWL_FIRM, it is a physical cartridge slot on the 3ds.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    They haslve dedicated on board chips that aren't tweaked like x64/x32 afaik
  • ColdBlitz @ ColdBlitz:
    but its a custom os for both of them
  • ColdBlitz @ ColdBlitz:
    designed for only specific hardware
  • ColdBlitz @ ColdBlitz:
    so you have to learn to emulate that specific hardware which isn't as easy as you'd think
  • K3Nv2 @ K3Nv2:
    It's a locked down Linux distro basically
  • Psionic Roshambo @ Psionic Roshambo:
    I think the only custom hardware is to do with the SSD and a security chip
  • Psionic Roshambo @ Psionic Roshambo:
    Probably combined in one chip
  • K3Nv2 @ K3Nv2:
    They place married security chips onto boards iirc
  • Psionic Roshambo @ Psionic Roshambo:
    Damn Frontier is offering 5Gbps now lol
  • K3Nv2 @ K3Nv2:
    I honestly can't recommend any of the big 3 this years I'd say buy a rog ally z1 if we're being honest
  • Psionic Roshambo @ Psionic Roshambo:
    Honestly after the PS3 and 360 I just went full PC
  • K3Nv2 @ K3Nv2:
    Every games basically cross platform they only have about 6 titles making it worth the $600 price tag
  • Psionic Roshambo @ Psionic Roshambo:
    Didn't see much need for a console, all the advantages have kind of disappeared
  • ColdBlitz @ ColdBlitz:
    the ps3 used to support installing linux because the cpu was so powerful
  • K3Nv2 @ K3Nv2:
    Then the games are $70 and they want to reboot and refresh the same game every year
  • K3Nv2 @ K3Nv2:
    The ps3 was always Linux they just found a way to make it open source
  • ColdBlitz @ ColdBlitz:
    I'm avoiding buying from the big 3 at all atm
  • Psionic Roshambo @ Psionic Roshambo:
    At one point PC game pads where poorly supported, loading a game had setup, it was complicated. Now it's almost as easy as a console.
  • ColdBlitz @ ColdBlitz:
    nintendo needs to up their game soon
  • K3Nv2 @ K3Nv2:
    Yeah even bt support for Xbox one controllers are just as easy as pairing
    +1
  • ColdBlitz @ ColdBlitz:
    considering the steamdeck can emulate the switch (yikes) theres almost 0 reason to buy the switch apart from playing online and using cartridges
  • K3Nv2 @ K3Nv2:
    Xinput and 360 dongles were a driver nightmare
  • K3Nv2 @ K3Nv2:
    I remember having to manually put in drivers and what not
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah the 360 dongles sucked
  • Psionic Roshambo @ Psionic Roshambo:
    But the new Xbox pads? PIr it up and if a game supports it it just works
    Psionic Roshambo @ Psionic Roshambo: But the new Xbox pads? PIr it up and if a game supports it it just works