gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > GBA Turbo Button idea?

#134861 - HackModford - Tue Jul 17, 2007 8:57 pm

Would it be possible for someone to make a simple program that will use the DS's internal hardware to run a normal GBA game from Slot 2 but let you use the X and Y buttons as turbo buttons? I can't believe Nintendo didn't do that. But I guess nintendo doesn't want you cheating :)
_________________
Use your talents for God's glory!

#134867 - Dood77 - Tue Jul 17, 2007 9:23 pm

If we could do this, we could also do a flawless GBA emulator. Which obviously isn't happening. Erm... just got thinking about that, I might be a little confused here... The Supercard slot-2 devices (rumble excluded) do commercial GBA ROMs, they use the 32MB RAM in the cart to do this... You can also patch the GBA ROMs for real time saves, does the Supercard run all this in DS mode?

Also, would it be possible to use something like nitrohax to make turbo buttons for DS games?
_________________
If I use a term wrong or something then feel free to correct, I?m not much of a programmer.

Original DS Phat obtained on day of release + flashme v7
Supercard: miniSD, Kingston 1GB, Kingston 2GB
Ralink chipset PCI NIC

#134869 - dantheman - Tue Jul 17, 2007 9:25 pm

When running a GBA binary on the Supercard, it runs solely in GBA mode. The *.gba files appear in the menu in DS mode, but once you select one it goes into GBA mode for execution.

#134874 - chuckstudios - Tue Jul 17, 2007 9:53 pm

www.youtube.com/watch?v=VBZKpAJc33g

That's a video of a modchip which accomplishes this, but it only fits in the DS Phat.

#134910 - OOPMan - Wed Jul 18, 2007 8:08 am

Dood77 wrote:
If we could do this, we could also do a flawless GBA emulator. Which obviously isn't happening. Erm... just got thinking about that, I might be a little confused here... The Supercard slot-2 devices (rumble excluded) do commercial GBA ROMs, they use the 32MB RAM in the cart to do this... You can also patch the GBA ROMs for real time saves, does the Supercard run all this in DS mode?

Also, would it be possible to use something like nitrohax to make turbo buttons for DS games?


Erm...

This has come up before...

Only a GBA "emulator" running on the DS in DS-mode would allow access to those buttons. Which would require you're GBA emulator to be a kind of virtualising one if you wanted to actually get decent speed. Which would be very painful to program on the DS (Something to do with there only being an MPU, rather than an MMU if I recall...)

This has come up before. It wasn't exactly feasible then.

SuperCard patched for binaries does not run in DS mode. A GBA binary runs on the DS in GBA mode, patches or no. Device-specific patching usually just inserts extra code into the binary and ties it to a button press check during an interrupt like VBlank, I think...
_________________
"My boot, your face..." - Attributed to OOPMan, Emperor of Eroticon VI

You can find my NDS homebrew projects here...

#134964 - HackModford - Wed Jul 18, 2007 10:13 pm

I went to that mod-mania site and they have some really neat stuff but If I put that in my DS it would kill the warranty right? I don't think I want to do that. But hey... it was just an idea.
_________________
Use your talents for God's glory!

#134971 - Devil_Spawn - Wed Jul 18, 2007 10:49 pm

but surely a gba emulator on ds is basically impossible because of the read speed - horrific slowdowns all the time