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 > Dazed & Confused!!! Mainly confused...

#40390 - Rinkwraith - Mon Apr 18, 2005 1:24 pm

I hope I'm not asking a really stupid or common question (did look around the forum but couldn't find the answer I was after). I've just started playing with DS development using NDS Dev Env and Dualis. Don't yet have a PassMe to try the stuff out on the real unit.

What I can't work out is what I can do with the ARM7. I know it controls the touchscreen etc. and the sample code I've got all has C++ files for both the ARM9 and ARM7 cpus.

Thing is: if I change code in the ARM7 files and make the project, it doesn't seem to have any effect in Dualis. I'm guessing at this point that because you use the ARM9 bin in the emulators that they (Dualis) use standard code for the ARM7? So you can't code for that CPU if you're using an emulator?

I hope I'm wrong. But if so, what should I be doing so that I can code for both cpus and run them? If I'm completely off base here then could it be a problem in the makefiles?

Thanks.

R

#40392 - FeaRog - Mon Apr 18, 2005 2:22 pm

I find that iDeaS works OK for running both processors. You rename your .nds file to .pme and it should run all your code. I'm yet to have any luck with Dualis at all!

#40406 - natrium42 - Mon Apr 18, 2005 7:28 pm

Dualis emulates only the ARM9 processor. Additionaly, it puts information into the IPC structure -- just like the ARM7 code from the template.

iDeaS emulates both CPU cores.
_________________
www.natrium42.com

#40479 - Rinkwraith - Tue Apr 19, 2005 8:34 am

Brilliant, thanks for the info guys. Was beginning to pull my hair out. :D