melonDS icon indicating copy to clipboard operation
melonDS copied to clipboard

Some DSiWare freezes on boot

Open mariomadproductions opened this issue 4 years ago • 6 comments

Native (i.e. not 3DS) USA versions tested, on a USA NAND, imported using the new title manager. Running from DSi menu.

  • Looksley's Line Up (log)
  • Nintendo DSi Instrument Tuner. Gets past ESRB screen, but then freezes. (log)
  • Thorium Wars. DSi's own user-facing "An error has occurred" screen appears. (log)

edit: nice work on the title manager btw

mariomadproductions avatar Sep 03 '21 18:09 mariomadproductions

Gold Fever (USA) freezes on boot, but works fine in No$gba v3.0.5 off of the same NAND. Tested with interpreter CPU and revision https://github.com/Arisotura/melonDS/commit/879695070a728c589d6999fe40799b01d34c35af, all the other games I have on the same NAND at least booted to the title screen (about a dozen DSiWare games, all of them USA region). This might make Gold Fever a useful debugging target. Log attached. log.txt

angrylion7 avatar Apr 02 '22 22:04 angrylion7

oh, interesting, it's using the GXFIFO mode of NDMA. I will need to look into how the 112-word limit thing interacts with block subdivision, eventually, but I think I can make a guess.

Arisotura avatar Apr 02 '22 22:04 Arisotura

latest revision will fix Gold Fever.

as for the list in the first post: the first two titles need DSP support. Thorium Wars, however, is looking interesting.

Arisotura avatar Apr 10 '22 00:04 Arisotura

Is DSP not already handled by teakra?

poudink avatar Apr 10 '22 15:04 poudink

Thorium Wars(US version) imports and runs fine for me.

windwakr avatar Apr 10 '22 16:04 windwakr

Looksley's Line Up and Nintendo DSi Instrument Tuner still appears to not boot (74f479c). The ARM9 gets stuck waiting for the DSP status to indicate the read FIFO is not empty.

0200f0d8:  e1d120b8 ldrh r2, [r1, #+0x8]                 r0:00000080 r1:04004304 r2:00000100 r3:04004300 r4:00000003 r5:00000c00 r6:02115ad2 r7:00000000 r8:0000000a r9:02115ad0 r10:000011ea r11:00000000 r12:0000000c SP:02fe3a08 LR:00000000 PC:0200f0e0 Cy:117080171 ARM9
0200f0dc:  e3120040 tst r2, #0x40                        r0:00000080 r1:04004304 r2:00000100 r3:04004300 r4:00000003 r5:00000c00 r6:02115ad2 r7:00000000 r8:0000000a r9:02115ad0 r10:000011ea r11:00000000 r12:0000000c SP:02fe3a08 LR:00000000 PC:0200f0e4 Cy:117080175 ARM9
0200f0e0:  0afffffc beq #0xFFFFFFF8                      r0:00000080 r1:04004304 r2:00000100 r3:04004300 r4:00000003 r5:00000c00 r6:02115ad2 r7:00000000 r8:0000000a r9:02115ad0 r10:000011ea r11:00000000 r12:0000000c SP:02fe3a08 LR:00000000 PC:0200f0e8 Cy:117080176 ARM9

(loop repeating forever; Nintendo DSi Instrument Tuner has the exact same loop at 0x0216DE98, presumingly this is some SDK code?)

CasualPokePlayer avatar Sep 12 '24 10:09 CasualPokePlayer

Looksley's Line Up (USA) shows a few initial screens now, but apparently cannot start a New Game.

angrylion7 avatar Jun 23 '25 21:06 angrylion7

Looksley's Line Up and Thorium Wars get in-game now and may be playable. Nintendo DSi Instrument Tuner still freezes.

angrylion7 avatar Jun 24 '25 16:06 angrylion7