Search found 66 matches
- Sat Nov 30, 2019 6:16 pm
- Forum: Other Retro Dev
- Topic: 3DS reverse engineering
- Replies: 323
- Views: 307298
Re: 3DS reverse engineering
GPIO returns data=0 for bits with direction=output??? Then it would be unwise to use RMW on GPIO data (it would clear all other data bits). Oops, brainfart. I meant writes are ignored when the GPIO is set to input. I have tried to remove all init code, and now I have only two required register writ...
- Sat Nov 30, 2019 1:44 pm
- Forum: Other Retro Dev
- Topic: 3DS reverse engineering
- Replies: 323
- Views: 307298
Re: 3DS reverse engineering
Btw. are you sure that it's legit to change GPIO data via RMW? The Input value isn't always same as Output value. At least so for input-direction (but, yes, that should be don't care when writing the Output value). However, I don't know what appears as readback value for data in output-direction (i...
- Sat Nov 30, 2019 10:33 am
- Forum: Other Retro Dev
- Topic: 3DS reverse engineering
- Replies: 323
- Views: 307298
Re: 3DS reverse engineering
Can you give more details? What are doing different from this code? And in which order are you doing what? Note that now all functions take the bank as parameter because relying on previous bank switches can be error prone and is annoying. https://gist.github.com/profi200/49266480c12a3a9a905bdeadbff...
- Fri Nov 29, 2019 1:44 pm
- Forum: Other Retro Dev
- Topic: 3DS reverse engineering
- Replies: 323
- Views: 307298
Re: 3DS reverse engineering
In this line: "*((vu8*)0x10141230) = 1;" Better write 3 instead of 1. I think otherwise writes to the DSP registers at 10203000h will ignored. DSP-init probably isn't needed for CSND though. Ah, good catch. But it makes no difference writing 3 instead unfortunately. On the other hand, man...
- Thu Nov 28, 2019 7:47 am
- Forum: Other Retro Dev
- Topic: 3DS reverse engineering
- Replies: 323
- Views: 307298
Re: 3DS reverse engineering
2 new findings. After you updated the docs on the CSND regs i improved my CSND code. Samplerate calculation is wrong but good enough to get something out of the speakers. If i let this code run and continue booting HOS i get the expected result because csnd module is lazy as f... and doesn't reset t...
- Wed Nov 27, 2019 2:59 pm
- Forum: Other Retro Dev
- Topic: 3DS reverse engineering
- Replies: 323
- Views: 307298
Re: 3DS reverse engineering
After reverse-engineering the peripherals, I have had a closer look at the patchwork needed to access them. The I2C and SPI bus clock rates are now more or less documented (for better specs it might help to wire an oscilloscope to the mainboard - are there any known test points for the I2C/SPI cloc...
- Sun Nov 24, 2019 2:03 pm
- Forum: Other Retro Dev
- Topic: 3DS reverse engineering
- Replies: 323
- Views: 307298
Re: 3DS reverse engineering
Thought this may be useful. Recently i was digging in AgbBg and figured out how to turn on the speaker DAC. This is basically 1:1 what it does. The CODEC chip seems to be completely different to the TSC2117 because literally no reg or page/bank matches. https://gist.github.com/profi200/49266480c12a3...
- Tue Jul 23, 2019 1:44 pm
- Forum: Other Retro Dev
- Topic: 3DS reverse engineering
- Replies: 323
- Views: 307298
Re: 3DS reverse engineering
I've made a database with some of the most important initial bootrom register values, mostly AMR9 registers, plus ARM11 IRQ registers. And a selftest function that displays all mis-initialized registers (ie. showing addresss, correct, incorrect values): diag3ds.ZIP The main issue that breaks wifibo...
- Sun Jul 21, 2019 4:02 pm
- Forum: Other Retro Dev
- Topic: 3DS reverse engineering
- Replies: 323
- Views: 307298
Re: 3DS reverse engineering
Ooops, yes, I didn't have the .fix directive in diag3ds for fixing the sha256's, thanks. Immeditialy powering down in diag3ds happens if you have button a/b pressed (I guess you did so in fastboot menu). Well, at least you do now know how immediately powering off looks like, without the led fade-ou...
- Sat Jul 20, 2019 8:07 pm
- Forum: Other Retro Dev
- Topic: 3DS reverse engineering
- Replies: 323
- Views: 307298
Re: 3DS reverse engineering
It doesn't make sense that the above works differently when uploading wifiboot.firm than fastboot.firm (at that point it didn't even interprete the FIRM header contents, apart from checking if Length of 1st block is nonzero). Maybe the difference was just a random effect? Some ideas for random effe...
- Wed Jul 17, 2019 5:29 am
- Forum: Other Retro Dev
- Topic: 3DS reverse engineering
- Replies: 323
- Views: 307298
Re: 3DS reverse engineering
I tried now to upload a firm file and it's hanging no matter what i do. No$GBA finds the right IP but that's about it. The entire thing hangs and i have to close it in the task manager. Might be a network problem, or a problem with the .firm file. Did you try uploading the wifiboot.firm file? So wi...
- Tue Jul 16, 2019 6:42 am
- Forum: Other Retro Dev
- Topic: 3DS reverse engineering
- Replies: 323
- Views: 307298
Re: 3DS reverse engineering
Regarding waste: Search on ebay for a cheap, bricked 3DS where the description says the blue power LED shortly blinks. This is almost certainly a "arm9loaderhax/boot9sstrap brick" where it can't find the boot.firm on the SD card powering off as a result. There are many ignorant/uninformed ...
- Sat Jul 13, 2019 5:11 pm
- Forum: Other Retro Dev
- Topic: 3DS reverse engineering
- Replies: 323
- Views: 307298
Re: 3DS reverse engineering
Fastboot credits hangs, but it recovers when pressing B button. I assume that it is displaying something on the top screen during the hang? (which could be seen only when having working top screen backlight connector). Continue booting just hangs. I didn't press HOME at all, but yes, I haven't sele...
- Thu Jul 11, 2019 2:08 pm
- Forum: Other Retro Dev
- Topic: 3DS reverse engineering
- Replies: 323
- Views: 307298
Re: 3DS reverse engineering
Regarding NDMA startup modes: I did a few tests and and these new bits seem to be totally different startup modes probably primarily for device<-->device transfers. Initially i thought maybe they map 1:1 to the regular startup modes + the immediate bit but hey are different. That's all i know. Relea...
- Thu Jun 13, 2019 10:45 pm
- Forum: Other Retro Dev
- Topic: 3DS reverse engineering
- Replies: 323
- Views: 307298
Re: 3DS reverse engineering
He appears to still use a PC running Windows 9x . Yeah, i knew that but i would at least expect 1 or 2 GiB. 98 or XP takes next to nothing on resources. Btw something this forum really needs is a multi quote function. That being said, I don't think the boot ROMs access FCRAM at all, so you can at l...