Commit Graph

968 Commits

Author SHA1 Message Date
Arisotura 118b3b0f24 don't auto-patch firmware touchscreen coordinates, atleast until we find out whether that causes problems in DSi mode 2019-10-15 23:30:01 +02:00
Arisotura dcda848cdf * base for potentially re-encrypting modcrypt, doesn't seem to be required? but can also serve to decrypt it
* revise SD IRQ behavior (fixing potential hang when loading DS games)
2019-08-07 12:57:12 +02:00
Arisotura 9c1ea0e539 guess after all we shouldn't send ACKs for nonexistant I2C devices 2019-08-06 13:31:27 +02:00
Arisotura 28a9c7d9d1 camera: enough stub to pass firmware init 2019-08-06 13:06:14 +02:00
Arisotura 62a605cd92 lay base for camera shito 2019-08-06 02:27:54 +02:00
Arisotura 4d3d8433cb * add old DS BIOSes and 04004000 BIOS-switch
fixes audio issues when running DS games
* attempt adding other fun shit like dynamic RAM size, but that mostly went nowhere for now
2019-08-05 19:52:03 +02:00
Arisotura 36c741241a support DSi-mode carts
except they need to have the DSi-mode shit encrypted
2019-08-04 16:46:02 +02:00
Arisotura a9f36929e0 TSC: add backwards-compatibility 2019-08-04 14:34:33 +02:00
Arisotura f897d8c0d7 touchscreen input, somewhat
it's off, need to patch the calibration data
2019-08-04 12:13:01 +02:00
Arisotura a6a9f74acc lay base for DSi-mode TSC 2019-08-04 11:44:36 +02:00
Arisotura f7f4ff0519 wifi: take this shit further. complete wifi init 2019-08-04 02:16:16 +02:00
Arisotura 0918da7b00 add BMI commands and other shit 2019-07-24 21:13:08 +02:00
Arisotura 06716794a1 lots of things. attempting to make wifi init work. not there yet. 2019-07-24 18:48:52 +02:00
Arisotura c5e14074c3 * add SCFG_EXT
* quick hack to detect cartridges
2019-07-03 12:37:34 +02:00
Arisotura 5062ed543a HARK HARK HARK HARK 2019-07-03 01:17:23 +02:00
Arisotura ec042000cf lay base for DSi wifi 2019-07-03 00:07:51 +02:00
Arisotura 851e255b40 * AES-CCM decrypt
* fix a bunch of bugs
2019-07-02 23:46:39 +02:00
Arisotura 8c64290958 make it work better 2019-06-21 00:07:57 +02:00
Arisotura 1d138c0589 add SCFG_MC 2019-06-20 23:34:32 +02:00
Arisotura 1bd7243edc make it actually not crapo the NAND 2019-06-20 23:20:08 +02:00
Arisotura ed6b85bf33 implement SD/MMC write (cmd25) 2019-06-20 23:05:32 +02:00
Arisotura 6c60e97a63 fix another AES bug 2019-06-20 22:42:28 +02:00
Arisotura d943a51b96 ayyy
getting there!
2019-06-20 03:19:51 +02:00
Arisotura 000aa1f327 add LCD init flag in DISPSTAT 2019-06-20 02:31:46 +02:00
Arisotura 5dd7fe05a8 add some registers
someday I should implement the SCFG shit correctly
2019-06-20 01:54:40 +02:00
Arisotura 3d9e6c5c66 * fix more AES bugs
* fix ass-stupid bug with NWRAM mapping
2019-06-20 01:36:10 +02:00
Arisotura 95f4c1472b probably betterer like this 2019-06-19 22:08:35 +02:00
Arisotura 3807c9bf5b combat AES overflowing and/or getting stuck 2019-06-19 21:57:08 +02:00
Arisotura dcae9788e5 add NDMA start mode 0x0A (AES input FIFO) 2019-06-19 19:19:51 +02:00
Arisotura f4c7f5c96b support loading extra RSA keys from dsikeys.bin file (to dump from haxed DSi) 2019-06-19 18:55:48 +02:00
Arisotura 734c9024d5 add NWRAM registers 2019-06-19 17:16:44 +02:00
Arisotura b03e81edc8 add consoleID registers 2019-06-19 16:56:58 +02:00
Arisotura d5a7c0bab8 there, PSISP 2019-06-19 15:58:50 +02:00
Arisotura 2a60fad0a5 fix moar bugs, get furtherer (add support for SDHC addressing) 2019-06-19 15:54:07 +02:00
Arisotura 6e5879f8bb fix more bugs, get further 2019-06-19 15:26:38 +02:00
Arisotura 78b28f6a5c fix bug with SD reads going a bit too far 2019-06-19 14:44:00 +02:00
Arisotura 81dde71eba add AES, fix a bunch of bugs
we're getting an error screen! wee
2019-06-19 14:24:49 +02:00
Arisotura f0131cfac9 plug it to the SD/MMC FIFO.
now half the shit is done.
2019-06-18 23:10:55 +02:00
Arisotura b1ed835ae9 might be more impressive if it actually worked, like this 2019-06-18 23:05:36 +02:00
Arisotura 606a40e6b8 y'know, actually running the DMA units might yield better results. 2019-06-18 22:57:37 +02:00
Arisotura d6bbc6f0f1 tremble upon the NDMA implementation
that doesn't do much beyond getting stuck
2019-06-18 22:54:07 +02:00
Arisotura 841122bc51 prevent old DMA from being a shitshow. 2019-06-18 21:12:39 +02:00
Arisotura 7335379127 HARK HARK HARK 2019-06-18 19:00:44 +02:00
Arisotura eb18643762 add data32 IRQ thing 2019-06-18 18:39:13 +02:00
Arisotura dc3c9f5bf8 take all the SDMMC shit further. now it's completing MMC init and trying to read shit. 2019-06-18 14:12:37 +02:00
Arisotura 6c75275593 moar SD/MMC commands 2019-06-17 18:40:45 +02:00
Arisotura bedc0220fc take this shit further 2019-06-17 13:24:37 +02:00
Arisotura d4dd97638d lay base for SD shit 2019-06-16 17:01:49 +02:00
Arisotura 566a8df6cd add IE2/IF2 2019-06-16 15:05:18 +02:00
Arisotura 78c41736c3 fix fucking ass-stupid bug with new-WRAM handling 2019-06-16 14:26:54 +02:00