Commit Graph

58 Commits

Author SHA1 Message Date
RSDuck 21f5477450 PRIu64 requires inttypes.h to be included 2021-06-05 03:34:39 +02:00
WaluigiWare64 e02bbcb3ac Use printf macro for u64 2021-05-16 17:17:57 +01:00
Arisotura 55a129e1a2 make sure to axe the GBA slot in DSi mode. (EXMEMCNT bit7 still applies to it, tho) 2021-04-25 13:13:16 +02:00
RSDuck 436b3c4c1d update copyright year and add missing GPL headers 2021-03-12 20:07:40 +01:00
WaluigiWare64 43348210f9 Fix some compiler warnings 2021-01-25 14:12:13 +00:00
RSDuck 1d6cc3c6ef keep only one handle of the NAND file around 2021-01-17 19:56:02 +01:00
Arisotura 129018a662 Merge remote-tracking branch 'remotes/origin/master' into dsi_camera 2020-12-04 18:28:15 +01:00
RSDuck d697f9e0d2 make fastmem work again 2020-11-13 15:20:53 +01:00
Arisotura fc922ffb14 Merge branch 'master' into dsi_camera
# Conflicts:
#	src/DSi_I2C.cpp
2020-10-26 20:47:30 +01:00
Arisotura 8d42b1c7d7 messin' around 2020-09-08 20:19:37 +02:00
PoroCYon 00e2ec3faf
fix 8-bit ConsoleID address decoding typo (#749) 2020-09-07 04:09:03 +02:00
Arisotura aa94cbaeb0 DSi: add support for 8-bit VRAM writes when enabled in SCFG_EXT. fixes #733 2020-09-03 11:51:50 +02:00
Arisotura ba373ca72a DSi: make ARM9-clock-selector actually work 2020-08-17 19:15:45 +02:00
RSDuck 2a3147db46 reset fastmem on DSi soft reset 2020-07-31 22:39:27 +02:00
Nadia Holmquist Pedersen b4ad35948d Merge remote-tracking branch 'upstream/slirp' into slirp-merge 2020-07-26 21:41:09 +02:00
RSDuck 8a96dfce18 fix build with JIT disabled
fixes #675 and #674
2020-07-25 20:59:53 +02:00
RSDuck c5381d2911 reconcile DSi and JIT, fastmem for x64 and Windows 2020-06-30 23:50:41 +02:00
Arisotura 5cd1177e34 huh. all DSi files had outdated copyright years 2020-06-05 20:44:18 +02:00
Arisotura ffa29ff496 clean it up some 2020-06-02 00:36:07 +02:00
Arisotura d0af89924e remove requirement for initmem7/9.bin (but this requires augmented BIOS dumps, we'll get there) 2020-06-02 00:25:29 +02:00
Arisotura ee9fe327e2 remove requirement for aeskeys.bin and boot2_7/9.bin 2020-06-01 23:13:38 +02:00
Arisotura 43e045357f make it able to switch between DS and DSi modes 2020-06-01 20:36:30 +02:00
Arisotura 6326ddd172 reset SD controllers during a soft-reset 2020-06-01 16:32:44 +02:00
Arisotura 8f5dff1725 make soft-reset work somewhat better 2020-05-30 13:52:51 +02:00
Arisotura f9ac26078b look for NAND nocash footer at the end of the file rather than using a hardcoded offset. check whether the footer is present. 2019-10-20 18:52:33 +02:00
Arisotura 1c72df43ab messing around 2019-10-20 18:35:16 +02:00
Arisotura e82364f010 * some fixes to SD controller support, make it clear that there is no SD inserted, makes Flipnote work somewhat better
* immediately clear AES busy flag when the block count is zero (occurs when loading DSi cart games)
* implement NDMA start modes that have an old-DMA equivalent (except for GXFIFO mode)

now it boots DSi carts!
2019-10-19 16:03:59 +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 f7f4ff0519 wifi: take this shit further. complete wifi init 2019-08-04 02:16:16 +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 851e255b40 * AES-CCM decrypt
* fix a bunch of bugs
2019-07-02 23:46:39 +02:00
Arisotura 1d138c0589 add SCFG_MC 2019-06-20 23:34:32 +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 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 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 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 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