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 > Enabling DSWifi disables the 3D engine on the ARM9 - why?

#160465 - ragefury32 - Wed Jul 16, 2008 11:55 am

Hm.

Okay, guys - I am having a weird issue with libnds and DSWifi -

So I was working on this project for the past 3 weeks, getting good progress and the right kind of vibe with the system, getting the 3D engine, the picker, the RTC, and etc to work - and as of last night, I shoehorned DSWifi support in. For some reason, once I shoehorned DSwifi support in, the 3D layer seems to vanish completely - even though iDeaS does not do that at all -

(Although iDeaS does not exactly do everything correctly either)

Can someone look through my code and see if there is a subtle mistake that might've caused this to happen?

The previously working version without DSWifi support is here:
http://aculei.net/~ragefury/Files/Hope-AMD/Leica2DS-C/

The version with DSWifi support but does not do 3D is here:
http://aculei.net/~ragefury/Files/Hope-AMD/Leica2DS-D/

Did I forget to trap something in the ARM7 code, or is this something even more subtle?

#160466 - Maxxie - Wed Jul 16, 2008 12:57 pm

You are no longer powering on the hardware in your arm9 code

previously via powerON(POWER_ALL)
_________________
Trying to bring more detail into understanding the wireless hardware

#160520 - ragefury32 - Thu Jul 17, 2008 5:41 am

Ah. That would be it - forgot that the default sample code for DSWifi does not power on everything.