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 > Moonshell soft reset problem

#113626 - Firon - Fri Dec 29, 2006 9:21 am

I hate to be asking again for help with debugging something, but there's a problem with the soft reset code in Moonshell. Apparently, after the reset, the PSRAM is unusable, at least with the M3, requiring the system to be powered off. While this mainly affects running backups, it can also affect any homebrew that uses the PSRAM, which includes Moonshell itself.

His soft reset code is based largely off LoveLite.
Here is the source, if someone wants to take a stab at seeing what's wrong.
http://mdxonlinemirror.dyndns.org/msev10_reset.zip

#113747 - HyperHacker - Sat Dec 30, 2006 8:43 am

Which is PSRAM exactly?
_________________
I'm a PSP hacker now, but I still <3 DS.

#113757 - Firon - Sat Dec 30, 2006 10:33 am

DRAM with extra hardware that makes it act like SRAM for ease of use.

And if you don't mean the technical definition, it's the additional 32MB of memory on the M3.

#113838 - HyperHacker - Sun Dec 31, 2006 5:10 am

Hm, then it might be a problem with the M3 drivers. Are you resetting while a file is open?
_________________
I'm a PSP hacker now, but I still <3 DS.

#113839 - Firon - Sun Dec 31, 2006 5:21 am

How interesting... The behavior has changed in 1.6 final beta.
If no file is playing, it either whitescreens or resets Moonshell improperly. If a file is playing, it seems to work right, as long as it's not in the middle of reading a new file (in which case, it just whitescreens).