Why the DS can't emulate GBA

Discussion in 'NDS - Emulation and Homebrew' started by epicCreations.or, Mar 15, 2010.

Thread Status:
Not open for further replies.
  1. epicCreations.or
    OP

    epicCreations.or GBAtemp Fan

    Member
    356
    15
    Mar 13, 2010
    United States
    Austin, TX
    Hello there. I'm a dreamer. I dream big. I've seen many posts saying that a DS couldn't handle GBA emulation or hypervising, but I'd personally like to know all of the exact reasons it could not work.

    So, what are the exact reasons the DS could not hypervise/emulate GBA on its own? What are the processing differences, access methods, etc.

    -epic Creations
     


  2. ` regret .

    ` regret . GBAtemp Regular

    Member
    147
    0
    Dec 12, 2009
    Canada
    I'm not sure but I think its something to do with not having enough RAM. People also say something about SRAM but i'm not sure wth that is. ):
     
  3. Tac 21

    Tac 21 GBAtemp Advanced Fan

    Member
    518
    1
    Feb 2, 2008
    Canada
    not enough memory. PSP could do it no problem.
     
  4. DeMoN

    DeMoN GBAtemp Guru

    Member
    7,650
    100
    May 12, 2004
    United States
    Your topic title states, "Why the DS can't emulate DS." [​IMG]

    But keep in mind that some flash carts (iPlayer, Supercard 2) can emulate the GBA via slot-1 due to the extra RAM or whatever that they have.
     
  5. Mike Hawk

    Mike Hawk Member

    Newcomer
    41
    0
    Jul 27, 2006
    United States
    a better question is : Why?
     
  6. koji2009

    koji2009 GBAtemp Maniac

    Member
    1,193
    31
    Mar 13, 2009
    United States
    The simple reason is that the DS card slot is not as fast as the GBA cart. The only way to get around this, would be to load up a GBA rom into ram... of which the DS only has 4MB. Smaller than practically every GBA rom.

    The only solutions are to use some sort of ram add-on or use the DSi's extra ram which is currently unavailable. If you use a ram add-on on slot-2 in normal DSes you can play GBA games fine, but if you're doing that there is no reason to emulate since those DSes can run GBA games natively.


    Understand, GBA carts were relatively expensive... costing as much as 50% of the retail price of a game... meaning companies made very little actual money from GBA games. These games had to be on fast carts because the GBA had very little ram (256k). The GBA game carts were so fast, they could ran most of the game code straight from the cart itself, versus the DS which has to transfer most data to ram BEFORE execution.

    By the time the DS came out, ram was much cheaper... And instead of paying for extremely expensive cartridges that ate into everyone's sales, Nintendo moved to a much slower read medium (which is why some DS games actually have load screens like disc based systems where GBA games never did).
     
  7. epicCreations.or
    OP

    epicCreations.or GBAtemp Fan

    Member
    356
    15
    Mar 13, 2010
    United States
    Austin, TX
    In that case, I should focus on hacking the DSi, eh? *sets off to google* [​IMG]

    Thanks for the answers, to those of you who are helpful. [​IMG]
     
  8. fgghjjkll

    fgghjjkll GBATemp MegaMan

    Member
    GBAtemp Patron
    fgghjjkll is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,041
    42
    Jul 7, 2008
    Like others said. The DS Cart is NOT fast enough. With only 4mb ram for a hypervisor, you would have to swap out data pretty fast...
     
  9. epicCreations.or
    OP

    epicCreations.or GBAtemp Fan

    Member
    356
    15
    Mar 13, 2010
    United States
    Austin, TX
    Thanks for repeating known information [​IMG]
    I would like to know the speed differences, since it's already been established that the DS cart is slower than the GBA cart.
     
  10. gameguy95

    gameguy95 Needs More Furries!

    Banned
    1,119
    1
    Jan 27, 2009
    United States
    Furrytown
    As has been said about 5 times so far: not even close to having enough RAM
     
  11. epicCreations.or
    OP

    epicCreations.or GBAtemp Fan

    Member
    356
    15
    Mar 13, 2010
    United States
    Austin, TX
    Ignoring that... You don't seem to understand what I'm getting at... I'm thinking of building a GBA emulator for the DS, not for actual use, but rather just to prove it could be done. I don't actually care if it's slower or anything like that. I just want to know if there are specific barriers that would completely stop me from emulating the GBA.
     
  12. mcbey

    mcbey GBAtemp Regular

    Member
    131
    0
    Dec 29, 2006
    United States
    Texas
    If youre unable to grasp the concept about why one type of memory is slow than the other, I highly doubt you would be able to build an emulator for anything.
     
  13. Advi

    Advi GBAtemp Maniac

    Member
    1,143
    5
    Jan 26, 2009
    United States
    It would be extremely slow and painful to play............but it could probably be done.
    Thing is, why build an emulator when you can't play it pleasurably? It's much more fun to just buy a Slot-2 cart and use that to play the game.
     
  14. Gore

    Gore GBAtemp Advanced Maniac

    Member
    1,559
    21
    Oct 15, 2007
    United States
    He already said he just wants to do it to do it, asking why isn't helping and neither is telling him he can't, if you're going to say he can't tell him why it is completely impossible to create an even unplayable emulator..
    Whether he is capable or not doesn't change his questions
     
  15. DeltaBurnt

    DeltaBurnt I'm bored

    Member
    3,353
    2
    Feb 21, 2009
    United States
    Where intellect matters
    Well think of it like this, someone buys a flashcart for piracy 99% of the time. So if they already spent a fortune of 20 bucks on the flashcart, do you think a pirate would spend another 10 bucks for a EZ Flash 3-in-1?
     
  16. stuffnflufff

    stuffnflufff GBAtemp Regular

    Member
    120
    0
    Feb 22, 2010
    Canada
    Technically speaking you would literally need to go into the code and write a statement telling the code to refresh after 4MB of usage (kind of like a Disc uses the data stored on the disc from a different spot constantly) meaning youd have to make the emulator THINK its a disc iso. This way it could grab info and put it back on the fly. It SHOULD be possible if you do it that way. Just cant think of exactly how youd do it (first year uni computer science has made me think of theories, just dont know if they work lol)
     
  17. Saddamsdevil

    Saddamsdevil GBAtemp Advanced Fan

    Member
    569
    30
    Sep 12, 2009
    DS2 will probably be released before you finish this though, and if it does turn out to work, I don't think people who bought ds2's will be very happy [​IMG]
     
  18. Jamstruth

    Jamstruth Secondary Feline Anthropomorph

    Member
    3,456
    184
    Apr 23, 2009
    North East Scotland
    Surprised nobody's mentioned specs. DS has 90MHz of power while the GBA has about 33MHz I don't think the power difference is enough for a decent emulator (the iPlayer has its own processor of 400MHz so the cart is actually more powerful than a DS)
    Also on top of only having 4MB of RAM you must reserve say 1MB for the emulator's programming to run in (this is why JenesisDS can only run ROMs
     
  19. Llama Riot

    Llama Riot Banned

    Banned
    258
    1
    Feb 18, 2010
    United States
    Hell!
    Throughout the GBA's lifetime people constanly flamed and trolled users inquiring about the possibility of emulating SNES on the GBA. They all said it was impossible: This proved them all wrong. So please stop saying that something is impossible when it cleary is not. Difficult? Unlikely? Yes, seeing as you can just get a slot 2 cart, but certainly not impossible.
     
  20. heartgold

    heartgold GBAtemp Psycho!

    Member
    4,338
    1,032
    Sep 11, 2009
    London
    If only we had access to dsi mode, it would turn the impossible to less likely, huh? [​IMG]

    Getting data to be refreshed constantly on a standard DS sounds like the only option of playing an actual gba rom, however how will one get around this, seems like really hard work and may turn out to be impossible.
     
Thread Status:
Not open for further replies.