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 > Odd problem with template

#45476 - agentq - Sat Jun 11, 2005 2:25 am

Hi, I'm new here, and would like to get started making stuff for the DS, but I've run into an odd problem.

I bought a suitable Wifi card to use with the wireless multiboot, and have sucessfully used it to transfer the commercial game demos fine.

Then I had a go at running the homebrew roms. I built some roms using NDS Dev Env 2.3.0. I burned the .ds.gba file on onto my GBA cart and booted using wifime, but it seems only the Tetris demo and the Nibbles demos will run. Everything else just displays two white screens.

It appears that those are the early ones that use a different template, but everything newer just fails to work. I've tried all the ndslib examples and the ones that come with NDS Dev Env.

Anyone got any ideas why? I'm using a Visoly FlashAdvance Pro 128M.

#45479 - strager - Sat Jun 11, 2005 2:40 am

I had the same problem. Check your environmental variables and make sure that the binary directory is not interfering with another (have the DKA binary folder first, or near so). If that doesn't work, try redownloading everything, in this order:
Template
DevKitARM
LibNDS/NDSLib
MSYS
Everything else

The first two steps got me up and running, thanks to DesktopMan for his help. :-)

If that doesn't work, remove everything you have and do everything again.

#45567 - agentq - Sun Jun 12, 2005 2:16 am

Finally got it working.

Here's what I think was wrong in case other people are having problems: I think the version of DevkitARM included with NDS Dev Env 2.3.0 won't build for the Arm7 correctly. All the demos I could run were ones that had the arm7 binary pre-built. All the others just crashed on hardware.

I eventually fixed it by getting DevkitArm r12 from Sourceforge (the self-extractor), and the latest version of ndslib from thepernproject.com.

Although I now can't build the examples that came with NDS Dev Env at all, all the NDSlib examples build and run on hardware, so I'm happy I can build code for both the Arm7 and the Arm9.

Thanks a lot for your help.