It might also explain why the first time it tries to invoke halt mode, R12 has the wrong value, so it ends up trying to STRB into the firmware ROM area instead.
-
-
Vastauksena käyttäjälle @TheMogMiner
nah, that one also happens in melonDS, that's a bug in Nintendo's code.
1 vastaus 0 uudelleentwiittausta 1 tykkäys -
Vastauksena käyttäjälle @Arisotura
Well, darn. In that case I have even less of an idea. I'm not sure how you feel about other devs using melonDS code as reference, so if it's not too much, do you know offhand (or can you confirm) whether or not the BIOS tries to initiate KEY1 mode, even with no game card?
1 vastaus 0 uudelleentwiittausta 0 tykkäystä -
Vastauksena käyttäjälle @TheMogMiner
I'm fine with melonDS code being used as a reference; infact that's also what the code is for! I don't recall details of cart comm but I don't think it should go further than trying to retrieve the cart header if there's no cart present.
1 vastaus 0 uudelleentwiittausta 1 tykkäys -
Vastauksena käyttäjälle @Arisotura
In that case, thank you for your work, and I'll go digging to see what I'm missing! E-high-five!
1 vastaus 0 uudelleentwiittausta 1 tykkäys -
-
Vastauksena käyttäjälle @Arisotura
Thanks! I've already noticed that the primary SPI control/data registers aren't hooked up in MAME, meaning that the BIOS will just read zeroes for any particular byte it asks for. Which is, uh, not good?
1 vastaus 0 uudelleentwiittausta 0 tykkäystä -
Vastauksena käyttäjälle @TheMogMiner
yeah, that would be bad, I couldn't imagine that emulation going very far
1 vastaus 0 uudelleentwiittausta 0 tykkäystä -
Vastauksena käyttäjälle @Arisotura
I believe I have the firmware SPI channel hooked up now - the BIOS is reading values from it - but the ARM7 is still happily wedging itself. I'm going to sift through the read/write log a bit more first, but I think my next step will be to get melonDS compiling on Windows. :)
1 vastaus 0 uudelleentwiittausta 0 tykkäystä -
Vastauksena käyttäjälle @TheMogMiner
prolly some CPU bug or smth. maybe try and see if the firmware is booting or if it's still stuck in the BIOS?
1 vastaus 0 uudelleentwiittausta 0 tykkäystä
RTC also doesn't seem to be hooked up. I figure it's probably better to keep addressing all of the currently-unmapped I/O reads/writes that pop up here and there before I go on a bug hunt in the CPU core.
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.