aboutsummaryrefslogtreecommitdiff
path: root/src/DSi.cpp
Commit message (Collapse)AuthorAge
* unfuck the DSP code someArisotura2022-10-10
| | | | (still doesn't work)
* properly stop any started cameras upon reset/shutdownArisotura2022-10-02
|
* actual DSi camera support (#1520)Arisotura2022-10-02
| | | basically feeding something that isn't a fixed stripe pattern, and emulating enough of the camera hardware to make this work
* properly make the DSi NAND instance-uniqueArisotura2022-09-23
|
* fix SCFG_MC cartridge inserted bitRSDuck2022-08-21
|
* implement 8- and 16-bit DSi AES register accessesRSDuck2022-08-21
| | | | fixes NAND access through Godmode9i
* basic implementation of SNDExCntRSDuck2022-08-21
| | | | | isn't hooked up to the DSP or microphone though fixes memory abort in TwilightMenu
* add support for the mainRAM mirror at 0x0C000000 in DSi mode, makes SM64DSi ↵Arisotura2022-04-10
| | | | work correctly
* update copyright headersArisotura2022-01-09
|
* Custom path support (#1333)Arisotura2022-01-07
| | | | | | | also including: * getting rid of shitty strings * all new, cleaner ROM handling code * base for DSi savestates * GBA slot addons (for now, memory cart)
* what.Arisotura2021-11-22
|
* ensure shit doesn't asplode atleast until this code is redoneArisotura2021-11-21
|
* remove remains of SDIOFileArisotura2021-11-21
|
* make firmware settings override also apply in DSi modeArisotura2021-11-20
|
* * remove more Config dependencies from the coreArisotura2021-11-17
| | | | * also use less shitty strings
* blargArisotura2021-10-28
|
* more complete (and accurate) CP15 setup for direct bootArisotura2021-10-28
|
* DMA timing renovation (#1207)Arisotura2021-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make timers usable for measurement shito without being assfuckingly unreliable * bürp * Arisotura can you ever clean up your goddamn code also regroup the timer code instead of having it split weirdly * make the set-timing functions a tad less hacky * congrats Arisotura you made an ass-enum * add timing region tables, and separate timings for ARM9 DMA (exempt of 3c penalty) * temp work on DMA timings, not finished also, did you know? 'increment/reload' is also a thing for the source address * begin work * add some of the GBA slot/wifi timings * complete it, I guess * make some progress * getting somewhere * sdsdfs * see, Arisotura, was it that hard? blarg.
* * add TSC shitoArisotura2021-08-30
| | | | * fix possible modcrypt shittiness
* actually make DSi-mode direct boot work to some extentArisotura2021-08-30
|
* having fun with fatfs (#1189)Arisotura2021-08-24
| | | | * patch TSC coords in DSi mode * DSiware importer and shit
* Fix for https://github.com/Arisotura/melonDS/issues/1169 (#1171)DesperateProgrammer2021-08-02
| | | | | | | | | | | * Fix for https://github.com/Arisotura/melonDS/issues/1169 LoadNAND was storing the stage 2 bootloader, while NWRAM access was disabled by Bit25 of SCFG_EXT putting the stage 2 into old shared WRAM, while executing it later with the bit enabled and fetching from an empty NWRAM. * Fixed bug, where access to the NWRAM Bank A used the wrong page mask for write access * Remove spaces before comma Co-authored-by: Tim Seidel <t.seidel@kts-systeme.de> Co-authored-by: RSDuck <RSDuck@users.noreply.github.com>
* NWRAM & Direct Boot (#1149)DesperateProgrammer2021-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * SCFG_BIOS now selects between NDS and DSi BIOS Allowing experimental direct boot. * - making NWRAM Priorities work as in the HW - fixed loading DSi stage2 Bootloader when in direct boot (should not be loaded) and might interfere with the image loaded into the (N)WRAM previously * NWRAM and SCFG Registers are now write-guarded by the corresponding SCFG_EXT7/9 Bits * removed debugging remainder * Moved NDSHeader dependent SCFG initialization into the new DSi::SetupDirectBoot function called from NDS::SetupDirectBoot when ConsoleType is DSi * removed redundant SCFG_BIOS bit checks * Set of changes from RSDuck's review * removed a forgotten comment * - removed the guarded debug outputs for NWRAM - NWRAM writes to bank and window registers now apply their write masks. - added comment on an existing TODO within the code describing, why this is OK - fixed initial NWRAM bank reset just accessing set A * NWRAM not mapped to 03... range if bit25 in SCFG_EXT is cleared * removed NWRAM write block on cleared bit25 in SCFG_EXT * changed type of iterator for MapNWRAM_x functions from s8 to int * - reduced calculations/comparisons on NWRAM write operations - changed u8 to unsigned int for an iterator MapNWRAM_x Co-authored-by: Tim Seidel <t.seidel@kts-systeme.de>
* Fallback to backup DSi Footer in NAND Image (#1154)DesperateProgrammer2021-07-13
| | | | | | | | | * - added fallback to DSi footer copy at 000FF800h if reading footer at end of file failed. See https://problemkaputt.de/gbatek.htm#dsisdmmcimages - changed output of ConsoleID to use PRIx64 to be consistent with all other tools working with the consoleID (readability/cosmetic improvement) * Remove extra space Co-authored-by: Tim Seidel <t.seidel@kts-systeme.de> Co-authored-by: RSDuck <RSDuck@users.noreply.github.com>
* Add PoroCYon's DSP code. (#1123)purringChaos2021-06-06
| | | | | | | | | | | | | | | * Add PoroCYon's DSP code. * Remove some teakra iles that we dont need. * make some requested changes. * move DataMemoryOffset into namespace. * use deault param. * ad the switch change * <Generic> forget about the default parameter
* PRIu64 requires inttypes.h to be includedRSDuck2021-06-05
|
* Use printf macro for u64WaluigiWare642021-05-16
|
* make sure to axe the GBA slot in DSi mode. (EXMEMCNT bit7 still applies to ↵Arisotura2021-04-25
| | | | it, tho)
* update copyright year and add missing GPL headersRSDuck2021-03-12
|
* Fix some compiler warningsWaluigiWare642021-01-25
|
* keep only one handle of the NAND file aroundRSDuck2021-01-17
|
* Merge remote-tracking branch 'remotes/origin/master' into dsi_cameraArisotura2020-12-04
|\
| * make fastmem work againRSDuck2020-11-13
| |
* | Merge branch 'master' into dsi_cameraArisotura2020-10-26
|\| | | | | | | | | # Conflicts: # src/DSi_I2C.cpp
| * fix 8-bit ConsoleID address decoding typo (#749)PoroCYon2020-09-07
| |
* | messin' aroundArisotura2020-09-08
|/
* DSi: add support for 8-bit VRAM writes when enabled in SCFG_EXT. fixes #733Arisotura2020-09-03
|
* DSi: make ARM9-clock-selector actually workArisotura2020-08-17
|
* reset fastmem on DSi soft resetRSDuck2020-07-31
|
* Merge remote-tracking branch 'upstream/slirp' into slirp-mergeNadia Holmquist Pedersen2020-07-26
|\
| * huh. all DSi files had outdated copyright yearsArisotura2020-06-05
| |
* | fix build with JIT disabledRSDuck2020-07-25
| | | | | | | | fixes #675 and #674
* | reconcile DSi and JIT, fastmem for x64 and WindowsRSDuck2020-06-30
|/
* clean it up someArisotura2020-06-02
|
* remove requirement for initmem7/9.bin (but this requires augmented BIOS ↵Arisotura2020-06-02
| | | | dumps, we'll get there)
* remove requirement for aeskeys.bin and boot2_7/9.binArisotura2020-06-01
|
* make it able to switch between DS and DSi modesArisotura2020-06-01
|
* reset SD controllers during a soft-resetArisotura2020-06-01
|
* make soft-reset work somewhat betterArisotura2020-05-30
|
* look for NAND nocash footer at the end of the file rather than using a ↵Arisotura2019-10-20
| | | | hardcoded offset. check whether the footer is present.