Commit Graph

1329 Commits

Author SHA1 Message Date
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 78ff4165ed GPU2D:
* implement reserved mode for bitmap sprites (not too interesting)
* mask out DISPCNT bits that don't apply to the sub GPU
2019-07-24 04:29:19 +02:00
Arisotura a8886d5949 GPU2D: add 'prohibited' large BG sizes 2019-07-24 03:30:09 +02:00
Arisotura 3c006fd361 GPU2D: fill gaps in BG modes
* mode6 actually works on the sub GPU, albeit limited to 1/4 the full bitmap size due to having only 128K of VRAM
* mode7 draws BG0, BG1 and sprites. no BG2/BG3.
2019-07-24 02:46:30 +02:00
Arisotura c1fa5d8283 GPU2D: forced-blank only disables BG/OBJ compositing (VRAM/FIFO display, capture, master brightness still run)
fixes #491
2019-07-24 00:27:08 +02:00
Arisotura 22f3cae067 fix potential out-of-bounds write 2019-07-13 02:54:14 +02:00
Arisotura ff27036b35 start botching the FPS limiter
results in shitty audio because it's overflowing the buffer
2019-07-12 22:04:55 +02:00
Arisotura 504ccb7044 don't allow modifier mappings in input config dialog, either 2019-07-09 18:41:44 +02:00
Arisotura 592e493a7a input: don't check modifiers for regular input 2019-07-09 18:39:50 +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 36f1e6f475 remove glBindImageTexture (4.2) 2019-06-30 16:57:30 +02:00
Arisotura 1b98a3e3a0 fix 'shift by register' operands: always only take the lower 8 bits of the register, fix handling for LSL/LSR >32
fixes #479
2019-06-27 14:05:51 +02:00
Arisotura 204b5d8700 HARK HARK HARK 2019-06-25 19:29:21 +02:00
Arisotura 4d775dcf85 fix OpenGL deinit when closing emu 2019-06-25 17:37:32 +02:00
Arisotura 1d8902c631 remove stupid hack that caused more problems than it fixed 2019-06-25 13:09:06 +02:00
Arisotura 58575f82b7 libui/windows: backport fix for #471 2019-06-25 12:29:56 +02:00
Arisotura 49b2f8d969 raise kMaxIterationCycles to 64 2019-06-25 02:05:48 +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 e2dc98d144 fix bug when mapping a joystick axis control but no button 2019-06-20 16:31:28 +02:00
Arisotura f59094e033 OpenGL: disable vsync, atleast under Windows 2019-06-20 16:00:12 +02:00
Arisotura 77bf92a272 Merge branch 'master' of https://github.com/Arisotura/melonDS 2019-06-20 13:57:34 +02:00
Arisotura 6d01677a57 add 32bit writes to some IO ports. fixes #313 2019-06-20 13:57:14 +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