Slashdot Mirror


GBA Emulator Released For the DSi

Busshy writes "Darkchen has released a Gameboy Advance emulator for the Nintendo DS/DSi that plays full speed with frameskip. This can only be played with the homebrew dev cart, the DS iPlayer. The emulator adds save states, cheats and tools to GBA games, and for DSi Fans the ability to finally get over the loss of the GBA Slot on the DSi."

66 comments

  1. nitpick by Anonymous Coward · · Score: 5, Insightful

    If it has to skip frames to play at "full speed" then that means it's not really playing at full speed.

    1. Re:nitpick by Anonymous Coward · · Score: 1, Informative

      Technically, both claims are correct. I guess the question is whether or not frame skipping is required to achieve full speed emulation. If so, then then the original commenter is correct in that it is not really full speed emulation.

    2. Re:nitpick by Anonymous Coward · · Score: 1, Informative

      No, that is fast forward. Frameskip is for keeping the game at a playable speed either through manual or automatic dropping of frames.

      I suggest that YOU learn the terminology before you start accusing others of ignorance.

    3. Re:nitpick by ZosX · · Score: 3, Informative

      From the looks of the video its frameskipping like hell. Emulation doesn't get good until it is as smooth as the original.

      The core they are running this on is an arm9. I'd be willing to bet they could get it up to 100% with some optimization. The original GBA was only a 33mhz arm. The music doesn't seem quite right tho.....

    4. Re:nitpick by Anonymous Coward · · Score: 0

      I didn't actually know, so I did google it. Google seems to think you are wrong.

      http://www.google.com/search?hl=en&q=define%3A+frameskip&cts=1253468529833&aq=f&oq=&aqi=

    5. Re:nitpick by Spatial · · Score: 2, Insightful

      It takes a surprising amount of computational power to emulate the GBA (and the SNES for that matter). Even the PSP emulators for them don't run at full speed 100% of the time.

    6. Re:nitpick by i.of.the.storm · · Score: 1

      It's not an ARM9. The iPlayer cartridge is designed to play videos, and has its own faster CPU on the cartridge. It's unknown what kind of CPU it is at the moment though, but people have been guessing that it could be over 300mhz.

      --
      All your base are belong to Wii.
    7. Re:nitpick by rsmith-mac · · Score: 1

      It's MIPS. The GBA emulator is a port of the PSP's GBA emulator, since the PSP's CPU was also MIPS.

    8. Re:nitpick by i.of.the.storm · · Score: 1

      Oh, cool. I guess that's not really a 100% confirmation, but otherwise he probably could not have done it so far. Unless you have specific sources that have found out that it is MIPS? Kind of interested as to why they went with MIPS versus ARM. That's pretty cool though; I guess most universities, including mine, usually use MIPS to teach assembly language/machine organization, so it's interesting to see actual products using MIPS. I guess this joins the N64 and PSP as MIPS powered consoles?

      --
      All your base are belong to Wii.
    9. Re:nitpick by Dwedit · · Score: 1

      The original GBA was 16MHz, not 33.

    10. Re:nitpick by Anonymous Coward · · Score: 0

      I am able to play most GBA, NES and Neo Geo games at full speed using the native emulators that came with my Dingoo A320. For SNES, Genesis and CPS stuff, I have to use the emulators under Dingux (Dingoo Linux) for full speed. Playing a game at frameskip of 1 is usually perfectly fine and you won't even notice it, but there are some games that use sprites that flash at just the right interval that frameskip 1 makes them effectively invisible.

      If you are looking for a handheld game system that has good emulation capability and quite a few ports of Linux native programs (Another World, Doom, Duke Nukem 3D, Flashback, Freedroid, Quake, ScummVM, The Ur-Quan Masters, Wolfenstein 3D to name a few), I would recommend picking one of these things up. Depending on where you go, you can get one from $80-$100.

    11. Re:nitpick by Hal_Porter · · Score: 1

      I don't think it's that serious. You could probably drop quite a few frames and have a playable emulator. Back in ye olde days people would write games that were basically locked to the vertical blank interrupt. You'd have two buffers, one visible and one being drawn. Once you were done drawing you'd wait for a VBlank to come along and then flip the buffers when the change was invisible.

      Someone should me a demo where he'd set the screen background color to white at the top of the screen then set it back to black once he started to wait for the VBlank. The nice thing about this was that you could see how much slack there was in the system. You could find a worse case bit of the game and make sure you never missed the deadline. Of course if you did you'd effectively skip a frame - since you had a drawn buffer ready you pretty much had to wait for another whole frame period before you could safely show it.

      Of course if you knew it was going to be like this you could double the speed and drop every other frame. Most of the time this was unnoticeable.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
  2. Not for the DSi by rvalles · · Score: 5, Insightful
    Wrong heading. Should say "For the iPlayer" and not "for DSi".

    About DSi, once DSi mode is properly cracked, it should give access to 133MHz ARM9 (up from 66MHz) and 16MB of RAM (up from 4MB), which might make this iPlayer device not needed.

    1. Re:Not for the DSi by Anonymous Coward · · Score: 0

      But the thing you hold in your hand is called "DSi".

    2. Re:Not for the DSi by Anonymous Coward · · Score: 1, Informative

      Except that the summary says it works for the DS as well. Ergo, the thing in your hand could be a DS, not a DSi.

    3. Re:Not for the DSi by Anonymous Coward · · Score: 0

      I never understood the overuse of the pre and post fixes of the letter i... At least the prefix 'e' for all online-related things had a meaning - "electronic"

      Unless it's something gimpy like 'interactive'

    4. Re:Not for the DSi by Anonymous Coward · · Score: 0

      The DSi has a camera built in. I - Eye. Yeah, bad pun.

    5. Re:Not for the DSi by Tony+Hoyle · · Score: 1

      If it said 'for the iplayer' people would assume it was for the iplayer (a website run by the BBC), not the DS (a console made by nintendo).

      For once I agree with slashdot - it's the best they could have done given the stupid naming of the app.

    6. Re:Not for the DSi by fm6 · · Score: 1

      I would have written "for DSi/iPlayer."

    7. Re:Not for the DSi by cgenman · · Score: 1

      DS is not an exciting target for GBA emulation, since the DS can play GBA games and GBA flash karts natively. You might be saving 15 or 20 dollars on a GBA flash kart, but that's about it.

      The DSi, on the other hand, is interesting to those of us who actually still have GBA games that we enjoy, but foolishly picked up DSi's anyway.

    8. Re:Not for the DSi by Anonymous Coward · · Score: 0

      bah! just wait for the HURD/iPlayer, it will kick dead horse ass.

    9. Re:Not for the DSi by sexconker · · Score: 1

      More like foolishly picked up a DSi knowing full well it dropped the GBA slot, and also foolishly threw away your DSLite, DS, Game Boy Micro, Game Boy Advance SP, Game Boy Advance, etc.

      You might as well cry about the original DS ot supporting original Game Boy and Game Boy Color games.

    10. Re:Not for the DSi by cgenman · · Score: 1

      Well, I had a GBA, which was quite literally given away to a sick neighbor's kid. My DS original was given away to a friend's kid, who wasn't actually sick at the time but was broke.

      The DSi seemed like a good time to jump in. I didn't realize, however, how many good games from the GBA I'd miss.

      I'm not saying it's a dealbreaking feature loss to me. But an emulation option is nice.

  3. yo dawg, I heard you like Boys by Anonymous Coward · · Score: 0, Funny

    so we put a boy in yo boy so you can- What's that officer?

    1. Re:yo dawg, I heard you like Boys by Anonymous Coward · · Score: 0

      You gotta pay the troll toll to get into the boy's hole.

  4. Re:The TRUTH about Slashdot! by Anonymous Coward · · Score: 0

    Anonymity fail.

  5. Re:The TRUTH about Slashdot! by Anonymous Coward · · Score: 0

    That's what using Slashdot is like.

    If you're going to post ancient copypasta, you could at least update it to reflect what it's like to use slashdot 2.0. Of course, it's mostly the same, except now the giant penis has steel barbs.

  6. Re:The TRUTH about Slashdot! by Anonymous Coward · · Score: 0

    Er, did you read the username?

  7. It's actually very interesting..... by Anonymous Coward · · Score: 3, Informative

    As the iplayer has one of these in it:

    http://focus.ti.com/lit/ds/symlink/tms320dm6441.pdf

    As the DS isn't quite powerful enough to play video (2 cpu's 100MHz, 4MB of RAM), they put a decoder chip on board a flash cart. This is decoded into the 16MB included in the cart and then displayed on the DS screen. I had previously assumed that it wouldn't be that useful for much else due to traffic being one way only.

    As a developer of the Linux port to the DS (http://www.dslinux.org) I am very interested to see if an X server or similar could be run on the iplayer cpu, leaving the DS cpu to handle wifi/touchscreens etc.

    It's important to note that this is an unofficial development (darkchen admits to acquiring the SDK through not the normal methods). The iPlayer team are quite proud of the fact that their cartridge is one of the few that doesn't allow piracy. Having a GBA emulator goes against this.

    1. Re:It's actually very interesting..... by tepples · · Score: 1

      the DS isn't quite powerful enough to play video (2 cpu's 100MHz, 4MB of RAM)

      MoonShell on a standard DS flash card plays DPG video (MPEG-1 up to 18 fps) just fine, and there's even an experimental DivX (MPEG-4 part 2) player called "tuna-vids" that works at half film rate (12 fps).

    2. Re:It's actually very interesting..... by i.of.the.storm · · Score: 1

      Yeah, but the iPlayer plays regular 640x480 videos in normal formats. I've used moonshell, tuna-vids, and ds-video, and they all work decently, but encoding the media is a pain in the ass. But technically, the DS can play video of course. The iPlayer device just lets it work better. I don't own one, but I do want to buy one.

      --
      All your base are belong to Wii.
    3. Re:It's actually very interesting..... by Anonymous Coward · · Score: 0

      And why the heck would you want to play a 640x480 video on a 256x192 screen ?

  8. I'd rather have a GBC emulator for the DS by NotSoHeavyD3 · · Score: 3, Insightful

    Mostly because I still have some old GB/GBC games that do not play in the DS at all.(I'm a little surprised NoA didn't put out a DS card that would let me play those titles.)

    --
    Did you know 80 to 90% of the moderators on slashdot wouldn't recognize a troll even if one dragged them under a bridge.
    1. Re:I'd rather have a GBC emulator for the DS by TSPhoenix · · Score: 5, Informative

      Lameboy DS seems to work fine.

    2. Re:I'd rather have a GBC emulator for the DS by bmecoli · · Score: 3, Informative

      Lameboy seems to work pretty well. I played it with Link's Awakening DX and it runs at a solid 60FPS.

    3. Re:I'd rather have a GBC emulator for the DS by MagusSlurpy · · Score: 1

      That's why I still have my SP.

      --
      My sister opened a computer store in Hawaii. She sells C shells by the seashore.
    4. Re:I'd rather have a GBC emulator for the DS by tepples · · Score: 2, Insightful

      (I'm a little surprised NoA didn't put out a DS card that would let me play those titles.)

      Nintendo probably plans to sell emulators or enhanced remakes of GBC games on DSi Shop, just as it has done with NES games on Wii Shop.

    5. Re:I'd rather have a GBC emulator for the DS by Burpmaster · · Score: 1

      Mostly because I still have some old GB/GBC games that do not play in the DS at all.(I'm a little surprised NoA didn't put out a DS card that would let me play those titles.)

      They can't. If you try to put a GB or GBC cartridge in your DS, you'll find it won't go all the way in. They operate at a different voltage, and the GBA was designed with a switch inside the slot that only GB/GBC cartridges would push. That switch changed the operating voltage and basically connected the cartridge, screen, and buttons to an alternate set of hardware. In the DS, there's a solid obstruction in place of the switch, so you can't fit GB/GBC carts in it.

  9. How does a DS play GBA games? by Anonymous Coward · · Score: 0

    i.e. besides the gba slot, doesn't it already have native abilities to play gba games at full speed?

    1. Re:How does a DS play GBA games? by Plaid+Phantom · · Score: 1

      They removed the GBA slot with the DSi.

      --
      All comments are properties and trademarks of the voices in my head. Not like I'm gonna claim them.
    2. Re:How does a DS play GBA games? by xjerky · · Score: 1

      Yes, but I see where the PP is going with this. If the DS can natively play GBA games, is the DSi any different, besides the lack of the GBA slot? If so, then all that's needed is a new loader for the GBA ROMs, without any sort of CPU emulation.

      --
      A sentence you'll never see on an Internet discussion board: "You know what? You're right."
    3. Re:How does a DS play GBA games? by tepples · · Score: 2, Informative

      If the DS can natively play GBA games, is the DSi any different, besides the lack of the GBA slot?

      For one thing, GBA games expect 0x08000000-0x09FFFFFF to be the Game Pak ROM. DSi appears not to have anything in that address space. Instead, as I understand it, DSi has extra RAM in 0x02400000-0x02FFFFFF and an SD card slot.

  10. Homebrew without piracy? by tepples · · Score: 0

    The iPlayer team are quite proud of the fact that their cartridge is one of the few that doesn't allow piracy. Having a GBA emulator goes against this.

    How would it even be possible to emulate homemade GBA games like Luminesweeper without also emulating pirated GBA games of the same size?

    1. Re:Homebrew without piracy? by Anonymous Coward · · Score: 0

      What are you retarded?

    2. Re:Homebrew without piracy? by Anonymous Coward · · Score: 0

      You could always go back to gbadev.org and argue it there

    3. Re:Homebrew without piracy? by Anonymous Coward · · Score: 3, Insightful

      *psst* He needs to work in an angle so he can link to his tetris clone

  11. For all flashcarts by Nichotin · · Score: 1

    I hope this comes in a version that works on all flashcarts, not just the iPlayer.

    1. Re:For all flashcarts by Anonymous Coward · · Score: 0

      Nope! The iPlayer has a 200+MHz arm9 in it which makes it possible to just flat out run the emulator on the flashcart. This isn't so much an emulator for the DS, as much as the DS is being used as a screen for the iPlayer, just as if the iPlayer was playing a video. Not exactly the most exciting conclusion, but at least it runs?

    2. Re:For all flashcarts by Mr.+Roadkill · · Score: 1

      Nope! The iPlayer has a 200+MHz arm9 in it which makes it possible to just flat out run the emulator on the flashcart. This isn't so much an emulator for the DS, as much as the DS is being used as a screen for the iPlayer, just as if the iPlayer was playing a video. Not exactly the most exciting conclusion, but at least it runs?

      Hmmm... how long until someone ports one of the DS emulators to this, at which point the iPlayer would become THE device for the Eyepatch Brigade?

      Or, approaching it from another angle, how long until a hacked loader beccomes available for this that permits the loading of "backups"? Didn't that happen with one of the early Datel homebrew/media cards?

  12. How cheap are you? by Deisatru · · Score: 1, Flamebait

    You have to crack a DSI to play GBA games and cant afford the $5 for a GBA?

    1. Re:How cheap are you? by Anonymous Coward · · Score: 0

      You have to crack a DSI to play GBA games and cant afford the $5 for a GBA?

      It took me weeks of constant Ebay-ing to get a GBA SP for as low as $30. Granted, this is probably because I was very picky and refused to accept anything but one of the newer backlit models (AGS-101 vs the old AGS-001), but finding any model except the original non-backlit GBA for $5 doesn't seem realistic to me.

    2. Re:How cheap are you? by Anonymous Coward · · Score: 1

      I guess the convenience of not carrying around multiple game systems whenever possible is lost on you.

    3. Re:How cheap are you? by xtracto · · Score: 1

      So, I assume that you carry your Gameboy, Atari Lynx, TurboExpress, GameGear, NeoGeoPocket,Gameboy Advance, N-gage,DS, GP2X and PSP in your belt wherever you go uh?

      --
      Ubuntu is an African word meaning 'I can't configure Debian'
    4. Re:How cheap are you? by sexconker · · Score: 1

      Or you know, the only handhelds worth owning.

      A Gameboy Advance SP (GB -> GBA), and a DSi (DS -> DSi & DSiWare).

  13. Re:Unfair and discriminatory by sexconker · · Score: 1

    Fascinating.
    No hands, typing with your penis, and you manage fewer typos than a typical slashdot post.

  14. Hah! by Optimus6128 · · Score: 1

    Gamepark GP2X or Wiz already run the GBA at full speed without frame skipping :)

    This is still impressive for the DS though. I wonder if it will run in my cart..

    --
    The "H-Word" has died for me.