Search found 1364 matches

by nocash
Thu May 13, 2021 5:36 am
Forum: Other Retro Dev
Topic: 3DS reverse engineering
Replies: 298
Views: 232440

Re: 3DS reverse engineering

I am bit ashamed of myself for wasting time on converting a high resolution truecolor image into uncompressed and necrophile ascii text, but I seem to have typed up the .png, so here it is: ##################################.py from snow20 import SNOW20 from rc4 import RC4 cardrc4keyhalf = 0x4######...
by nocash
Mon May 10, 2021 11:40 pm
Forum: Other Retro Dev
Topic: 3DS reverse engineering
Replies: 298
Views: 232440

Re: 3DS reverse engineering

Thanks for clarifying the reduce lambda part, and good to have the original snow source code!
by nocash
Sun May 09, 2021 11:36 pm
Forum: Other Retro Dev
Topic: 3DS reverse engineering
Replies: 298
Views: 232440

Re: 3DS reverse engineering

Interesting, RC4 is the standard WEP encryption, but I've never heard of SNOW 2.0 before, and it seems to be barely documented. I've found only this two webpages: https://link.springer.com/content/pdf/10.1007%2F3-540-36492-7_5.pdf - describes SNOW 2.0, but isn't shy of using obscure maths symbols ht...
by nocash
Sat May 08, 2021 1:32 pm
Forum: Other Retro Dev
Topic: 3DS reverse engineering
Replies: 298
Views: 232440

Re: 3DS reverse engineering

Very good to know! Even if it's just useful for knowing how to avoid too long delays, or for knowing whether or not needing additional software delays after SIGSTATE changes. And it does shed some light on what http://www.3dbrew.org/wiki/EMMC_Registers might have referred to when saying that "Assert...
by nocash
Fri May 07, 2021 5:51 am
Forum: Other Retro Dev
Topic: NDS Cartridge ROM specs
Replies: 46
Views: 22484

Re: NDS Cartridge ROM specs

anyway: header[0x60/0x64] for Jam with the Band are 0x00416657 and 0x081808F8, respectively. WarioWare DIY uses the same values. Face Training uses the same values too. Okay, that's same as in the 1T-ROM carts, then I guess the secure area delay in hdr[6Eh] is also same as for 1T-ROM? I've found an...
by nocash
Thu May 06, 2021 2:44 am
Forum: Other Retro Dev
Topic: NDS Cartridge ROM specs
Replies: 46
Views: 22484

Re: NDS Cartridge ROM specs

the Bad Apple demo checks for that structure before using the DLDI driver. if it's not there, or if DLDI fails in any way, it will fall back to its broken NitroFS driver. Okay, that's confusing, but I got it. The DLDI driver doesn't make too much sense in that case, except for people whom want to l...
by nocash
Wed May 05, 2021 2:13 pm
Forum: Other Retro Dev
Topic: NDS Cartridge ROM specs
Replies: 46
Views: 22484

Re: NDS Cartridge ROM specs

Tested a few more carts, and added the Chip ID values. The two 64Mbyte Macronix carts don't support any undocumented commands, all older carts from Macronix and Noname manufacturers seem to support command D8h. Metroid First Hunt 00000FC2 B7 B8 D8 Meine Tierarztpraxis 00000FAE B7 B8 D8 Meine Tierpen...
by nocash
Tue May 04, 2021 2:53 am
Forum: Other Retro Dev
Topic: NDS Cartridge ROM specs
Replies: 46
Views: 22484

Re: NDS Cartridge ROM specs

Got my test code working, and now I could test something new... NDS carts do somehow lock up after sending invalid commands, but on NDS hardware it was more or less impossible to test which commands are invalid (unless when rebooting or ejecting the cartridge after each command)... but the DSi can c...
by nocash
Mon May 03, 2021 5:48 pm
Forum: Other Retro Dev
Topic: NDS Cartridge ROM specs
Replies: 46
Views: 22484

Re: NDS Cartridge ROM specs

I thought DLDI is for loading data that isn't inside of the ROM-image... that could work only if your data actually isn't inside of the ROM-image. I haven't downloaded that huge 100MByte Bad Apple demo, but I guess it contains two versions; one with data inside of the ROM-image, one with external da...
by nocash
Sat May 01, 2021 3:24 pm
Forum: Other Retro Dev
Topic: NDS Cartridge ROM specs
Replies: 46
Views: 22484

Re: NDS Cartridge ROM specs

not sure how to differentiate between read and write commands? write commands need the WR bit set, but it seems it's also possible to read just fine with the WR bit set. Are you sure? With the WR bit set (bit30 in Port 40001A4h), my data read function does just hang. It does receive one DRQ (bit23)...
by nocash
Sat May 01, 2021 2:23 pm
Forum: Other Retro Dev
Topic: NDS Cartridge ROM specs
Replies: 46
Views: 22484

Re: NDS Cartridge ROM specs

Thanks for the chip part number! Hmmm, yeah, that doesn't exactly resemble any of the NAND ID bytes. But I just noticed that KLC2811 is same as in Warioware D.I.Y. (which has chip marked "SAMSUNG 004, KLC2811ANB-P204, NTR-UORE-0", and PCB name "DI X-7 C17-01"). Just for completeness: Do you have tha...
by nocash
Wed Apr 28, 2021 6:58 pm
Forum: Other Retro Dev
Topic: NDS Cartridge ROM specs
Replies: 46
Views: 22484

Re: NDS Cartridge ROM specs

PS. There seem to be three NAND carts (two for NDS, one for DSi), with these ROM chip IDs: ECh,7Fh,00h,88h NDS Samsung 128MB NAND (eg. Warioware D.I.Y.) ECh,7Fh,01h,88h NDS Samsung? 128MB NAND+What? (eg. Jam with the Band, UXBP) ECh,7Fh,00h,E8h DSi Samsung? 128MB NAND (eg. Face Training, USKV) I am ...
by nocash
Wed Apr 28, 2021 6:34 pm
Forum: Other Retro Dev
Topic: NDS Cartridge ROM specs
Replies: 46
Views: 22484

Re: NDS Cartridge ROM specs

Cool, that's interesting, to know how it works, instead of just knowing that it does exist. The header entries at 094h and 096h are both set to the same value? Is there a way to tell which value is which, 94h=End, 96h=Start, or vice-versa? Are there more special header entries, like separate ROMCTRL...
by nocash
Mon Apr 26, 2021 8:48 pm
Forum: Other Retro Dev
Topic: AMT630A firmware for mini TFT screens
Replies: 60
Views: 113677

Re: AMT630A firmware for mini TFT screens

You do probably have dozens or hundreds of computers and consoles that are capable driving SPI devices. But if you need suggestions:
DIY: Wire the SPI chip to your VIC-20 or the like.
PAY: Buy a Raspberry Pi or whatever else that comes bundled with SPI flash tools.
by nocash
Sun Apr 25, 2021 10:39 pm
Forum: Other Retro Dev
Topic: AMT630A firmware for mini TFT screens
Replies: 60
Views: 113677

Re: AMT630A firmware for mini TFT screens

The knowledge is all there, and if you aren't afraid of soldering and asm coding, just start with the spi flash chip dumping, there should be thousands of webpages and datasheets explaining how to do that with various types of hardware. I don't know how I could help there.