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 > devkitARM r20 WSOD

#116889 - Goosey - Tue Jan 30, 2007 6:53 pm

Experiencing 'compile and go' WSOD on load with the new devkitARM r20 and associated libs (newest libnds/libfat).

Have made sure I am patching with the proper dldi so, so I don't think this is the issue.

I am using herme's excellent esound library: ( http://forum.gbadev.org/viewtopic.php?t=11310&highlight=esound ) and suspect this might be a cause. Reason I think this is that it uses the pre-compiled arm7.bin and I did notice that the IPC and perhaps other arm7-relevant things had an interface change.

Is there anyone using esound that has been able to upgrade to r20?

EDIT: After building the 'aste_gems' demo that comes as an example in esound I found it 'Black Screens of Death' on me. So likely the precompiled arm7.bin is part of the issue.

Other then that I do use the 3D code and I noticed there were somewhat substantial changes going on there, so I will have to look at that as well I suppose..

To anyone who helps Thanks! :D


Last edited by Goosey on Tue Jan 30, 2007 7:29 pm; edited 1 time in total

#116891 - melw - Tue Jan 30, 2007 6:58 pm

As stated here, I get also a blank screen whenever trying to use 3d. The 2d graphics modes work just as before, but MODE_0_3D gives nothing. This also with (albeit not recently updated) NeHe examples. Trying to look bit further right now what might be the source of the problem...

#117416 - Goosey - Sun Feb 04, 2007 8:00 pm

After tiddling around a bit I have found that it seems to be issue with esound.

Removing esound from my game allows it to compile and work properly (as far as I can see).

I have set to try rebuilding esound for the devkitARM r20, but not having any luck. I am able to rebuild the library and it's arm7.bin from the source, however the example game will still freeze immediately.

Any suggestions are appreciated. Hermes (the author of the library) seems to be unreachable currently.

EDIT: Ok, might have narrowed down the problem. To implement the multithreading side of esound Hermes had made extensive additions to the interruptDispatcher.s assembly source. Since there are changes to the interruptDispatcher.s from devkitARM r19b to devkitARM r20 this seems like a source of incompatibility..

Unfortunately I am none to skilled at ARM assembler so I am not sure if I am going to be able to 'merge the changes' myself. Anyone out there who might help tackle this and make esound usable again in the new devkitARM r20?

Links since the files are too long for sane inlining..
http://www.goosey.info/temp/esound_interruptDispatcher.s
http://www.goosey.info/temp/dkpr19b_interruptDispatcher.s
http://www.goosey.info/temp/dkpr20_interruptDispatcher.s