Commit Graph
100 Commits
Author SHA1 Message Date
TuxSH 1dd6a9821a Merge branch 'master' into developer
Conflicts:
	Makefile
	source/patches.c
2016-08-18 00:35:20 +02:00
TuxSH 50a2424001 Implement svcGetCFWInfo in place of svc 0x2e (which is stubbed). Luma3DS now boots ca. 1.5s faster
Fix bug in pin.c where the START button wasn't recognized as well.
2016-08-17 23:47:30 +02:00
TuxSH 61e5a4444f Fix derp. 2016-08-17 16:03:49 +02:00
TuxSH dfd699c16b Merge branch 'master' into developer
Conflicts:
	source/config.c
2016-08-15 22:08:45 +02:00
TuxSH a381c2a811 Update config.c 2016-08-15 21:37:25 +02:00
TuxSH e4c87a59d0 Merge branch 'master' into developer
Conflicts:
	source/config.c
2016-08-15 21:29:17 +02:00
TuxSH eef30ceb3c Make the multi-choice options look cleaner 2016-08-15 21:25:06 +02:00
TuxSH 76411387ba Revert most of latest commit 2016-08-15 21:20:31 +02:00
TuxSH 8d5d8d2100 Fix and rewrite parts of k11modules.s 2016-08-15 21:07:06 +02:00
TuxSH 802bce12a7 Merge branch 'master' into developer 2016-08-15 17:23:53 +02:00
TuxSHandGitHub a1024c288e Update pin.c 2016-08-15 17:15:16 +02:00
TuxSH a4531b01d5 Merge branch 'master' into developer 2016-08-15 16:51:36 +02:00
TuxSH d445b20e90 Fix bugs 2016-08-15 16:50:58 +02:00
TuxSH 24ddf5ca3d Merge branch 'master' into developer
Conflicts:
	source/config.c
	source/fs.h
	source/patches.c
2016-08-15 16:29:48 +02:00
TuxSH 57fc4df86f Merge branch 'master' into developer 2016-08-14 23:42:33 +02:00
TuxSH 75acdc8a98 Fix setRSAMod0DerivedKeys 2016-08-14 23:32:56 +02:00
TuxSH 070f7fcc68 Fix exception dump folder creation 2016-08-14 13:47:12 +02:00
TuxSH 4d48238fb1 Merge branch 'master' into developer
Conflicts:
	source/start.s
2016-08-14 12:42:13 +02:00
TuxSH 9b304404f7 Enable access to the ITCM (older k9lh payloads disabled access to it).
Thanks @Normmatt for reporting that bug.
2016-08-14 12:30:12 +02:00
TuxSH 8e5ced8e3c Merge branch 'master' into developer 2016-08-13 23:56:49 +02:00
TuxSH 95ef379ac5 Remove the empty "luma" folder from the output folder since it will be created automatically when running Luma3DS. 2016-08-13 23:56:07 +02:00
TuxSH 915f9ccb0d Create /luma/dumps/arm9 and /luma/dumps/arm11 automatically when needed. 2016-08-13 23:43:34 +02:00
TuxSH 3709ac301a Merge branch 'master' into developer
Conflicts:
	source/config.c
	source/fs.c
	source/fs.h
2016-08-13 23:04:41 +02:00
TuxSH 3bc966f84e Replace "Enable splash screen with no screen-init" by "Display splash screen before payloads".
The screens will be initied if and only if there are splash files to display.
2016-08-13 22:23:14 +02:00
TuxSH 457b4cec13 Disable interrupts and do some refactoring. 2016-08-13 20:49:40 +02:00
TuxSH 88891ef6cd Setting "Dev. Options" to "None" no longer disable exception handling and related patches.
Removed the patch that disables execution protection on the global kernel FCRAM and VRAM mapping as it was unused, worthless, and caused bugs in the past.
2016-08-13 15:31:08 +02:00
TuxSH 25811e2b52 Remove handling of kernel panics for SAFE_FIRM k9, fix it for LGY FIRMs. 2016-08-13 11:47:10 +02:00
TuxSH f81c92e35b The user-mode context is now dumped (instead of the supervisor-mode context) on a svcBreak call.
Kernel panics are now handled by the exception handlers as well.
2016-08-12 15:17:19 +02:00
TuxSH 39b2aff627 Merge branch 'master' into developer 2016-08-06 22:38:54 +02:00
TuxSH 905777466d Don't set retail keys on dev units. 2016-08-06 22:38:06 +02:00
TuxSH 4e21cf4f1c Add an option to disable access checks (svc, service and arm9 flag checks) (thanks to @Subv for the most part) 2016-08-04 20:10:31 +02:00
TuxSH eccf9eab93 Enable reading TwlBg and AgbBg as well as TWL_FIRM, AGB_FIRM and SAFE_FIRM from SD card.
It's up to the user to provide supported versions of these firmware binaries (>= 5.x for NATIVE_FIRM, latest versions for the other firmwares) when using this feature.
2016-08-04 13:44:51 +02:00
TuxSH c36ad54bcb Always load firmware.bin when it exists. 2016-08-04 11:16:28 +02:00
TuxSH 81e2b7c11c Merge branch 'master' into developer
Conflicts:
	source/patches.c
2016-08-04 00:18:53 +02:00
TuxSH 18b5cdcddf Don't make any assumption regarding version when loading an external firmware file. 2016-08-04 00:05:01 +02:00
TuxSH fe31114779 Fix build issue 2016-08-03 23:27:58 +02:00
TuxSH df30a2a320 Fix bug regarding Arm9 exceptions 2016-08-03 23:15:45 +02:00
TuxSH cf7fa8ecbd Merge branch 'master' into developer
Conflicts:
	source/config.c
	source/firm.c
	source/fs.c
	source/fs.h
	source/patches.c
	source/patches.h
	source/utils.h
2016-08-03 22:52:51 +02:00
TuxSH 389a169443 pin.c cleanup 2016-08-03 20:49:10 +02:00
TuxSH e01802e299 Check the PIN before loading a payload.
Also fix some bugs.
2016-08-03 16:58:03 +02:00
TuxSH 709aefba5d Implement a PIN-checking system.
Idea and original code by @reworks
2016-08-03 14:13:26 +02:00
TuxSH fd1253caac Merge branch 'master' into developer 2016-07-14 21:21:55 +02:00
TuxSH a0e8bc1de3 Add support for launching >= 6.x/7.x emuNANDs properly when the sysNAND is on a lower firmware version
To launch 3.x - 4.x emuNANDs, you'll need to use an external firmware file (10.x or so should do the trick)
2016-07-14 21:20:45 +02:00
TuxSH 004f0652c9 Prevent double faults when either PC or SP is invalid 2016-07-14 20:08:31 +02:00
TuxSH d5190cd788 Minor stuff (2) 2016-07-05 16:24:00 +02:00
TuxSH 2412faf033 Merge branch 'master' into developer 2016-07-05 16:11:58 +02:00
TuxSH 72caad86cc Minor stuff 2016-07-05 16:05:53 +02:00
TuxSH 7df9917a00 Merge branch 'master' into developer 2016-07-03 20:54:14 +02:00
TuxSH 575adcbb9d Revert part of 136e0d89 (due to cache issues) 2016-07-03 20:53:13 +02:00
TuxSH 2d6debddb9 Merge branch 'master' into developer
Conflicts:
	source/firm.h
	source/fs.h
	source/patches.h
2016-07-02 17:44:08 +02:00
TuxSH 53d2aac2ae Update CakeBrah 2016-07-02 17:38:33 +02:00
TuxSH 96211813e3 Use bool instead of u32 where it's relevant 2016-07-02 14:44:01 +02:00
TuxSH 153bbd6242 Merge branch 'master' into developer
Conflicts:
	source/config.c
2016-07-02 12:48:08 +02:00
TuxSH 730e716f0f Update CakeBrah 2016-07-02 12:32:39 +02:00
TuxSH 2238293c0f Fix indentation 2016-07-02 10:59:21 +02:00
TuxSH 0eb87df84f Enable support for reading FIRM system modules from SD card (in /luma/sysmodules) 2016-06-27 13:21:08 +02:00
TuxSH a9db998d84 Fix potential bugs in the exception handlers 2016-06-18 13:10:07 +02:00
TuxSH fcb8edffdf Merge branch 'master' into developer 2016-06-14 19:51:49 +02:00
TuxSH 61684ecb68 We need to clean and flush caches before jumping to payloads, actually. 2016-06-14 19:50:38 +02:00
TuxSH 0ced86b55f Merge branch 'master' into developer
Conflicts:
	source/firm.c
	source/patches.h
2016-06-13 23:16:33 +02:00
TuxSH 159c9cb475 Implement our own DCache cleaning functions 2016-06-13 21:14:53 +02:00
TuxSH 2943dcb2e9 Refactor firm.c as well as other files 2016-06-12 22:14:52 +02:00
TuxSH 984c3e549c Merge branch 'master' into developer
Conflicts:
	Makefile
2016-06-11 00:00:53 +02:00
TuxSH edfd63e1f7 We don't need to flush DCache when launching payloads.
Fixes a derp as well.
2016-06-10 23:33:03 +02:00
TuxSH e593584a47 Move screen management code to screen.c and fix cache-related issues
- Screen brightness is now updated as soon as the user selects a brightness option, on all boot environments
- Payloads can now be 1KB bigger
- Some cache-related bugs may have been fixed
2016-06-10 21:48:22 +02:00
TuxSH ef60c8ea4c Refactor the exception handling code 2016-06-08 21:44:04 +02:00
TuxSH e478908dca Make the exception handlers dump more information
You'll need to the latest version of exception_dump_parser.py
2016-06-07 19:25:45 +02:00
TuxSH ca587692eb Merge branch 'master' into developer 2016-06-05 20:56:57 +02:00
TuxSH f78dd5365c External .code section loading for titles and some refactoring 2016-06-05 20:43:49 +02:00
TuxSH f9d6cdccb0 This is what happens when I don't have a N3DS 2016-06-05 12:08:55 +02:00
TuxSH 35fdd470b3 Fix previous commit on N3DS, with dev. features enabled 2016-06-04 23:51:00 +02:00
TuxSH edff11be7b Stub svcBreak with "bkpt 65535" so we can debug it 2016-06-04 21:14:00 +02:00
TuxSH bb230de72c The ARM11 exception handlers are now working.
Refactored the exception handling code in general.
2016-06-03 21:38:35 +02:00
TuxSH 2d7dde9cf9 ARM11 exception handlers (not working yet, it fails to retrieve the data after the reboot)
Uncomment the appropriate line in firm.c to test.
2016-06-02 22:33:44 +02:00
TuxSH b77d619873 Merge branch 'master' into developer 2016-05-28 23:49:07 +02:00
TuxSH ae1033d975 Update start.s (thanks @delebile and/or @d0k3) 2016-05-28 23:47:30 +02:00
TuxSH 99d28c4f79 Move the code that sets up the exception handlers 2016-05-28 22:05:07 +02:00
TuxSH 2424865fa1 Make developer features multi-choice, since modifying UNITINFO prevents accessing eShop on retail consoles (you can now choose "ErrDisp" for a less aggressive patch) 2016-05-28 16:13:22 +02:00
TuxSH 6a280723f8 Fix developer-branch-exclusive patches 2016-05-27 22:06:11 +02:00
TuxSH bafba1197e Fix and refactor stuff 2016-05-25 22:56:26 +02:00
TuxSH 2fab0be5e8 Merge branch 'master' into developer
Conflicts:
	Makefile
	source/firm.c
	source/patches.c
	source/patches.h
2016-05-25 22:28:50 +02:00
TuxSH 7ea2a0a278 Remove the anti-DG check on 11.0 firmware (and future ones) 2016-05-25 20:50:45 +02:00
TuxSH a3ae38520c Fix the latest two commits 2016-05-25 20:08:37 +02:00
TuxSH 859944dc8e Update Makefile 2016-05-21 22:59:14 +02:00
TuxSH a6dc3c8fc7 Merge pull request #86 from mariogamer2/master
Print commit in settings
2016-05-21 10:50:11 +02:00
TuxSH afc6f51ff2 Revised and working RO patch 2016-05-14 20:26:32 +02:00
TuxSH c32eefaa51 Patched CRO0/CRR0 hash&signature checks
This needs testing.
2016-05-14 15:35:59 +02:00
TuxSH b6969cf0d1 Make "Enable developer features" the last option for compatibility with the master branch 2016-05-13 09:15:40 +02:00
TuxSH 58a33ee6e9 Merge branch 'master' into developer
Conflicts:
	source/firm.c
2016-05-13 08:46:24 +02:00
TuxSH d48f6b62ce Fixed a build issue 2016-05-12 18:12:10 +02:00
TuxSH ca07af2fe9 Update fs.c 2016-05-12 15:08:12 +02:00
TuxSH 2fe5da97eb Merge branch 'master' into developer 2016-05-12 15:03:27 +02:00
TuxSH 2c10b6bff2 Merge branch 'master' into developer
Conflicts:
	source/firm.c
	source/patches.c
	source/patches.h
2016-05-12 14:31:48 +02:00
TuxSH 76acfd9934 Minor pedantic changes (2) 2016-05-12 13:35:39 +02:00
TuxSH 06cc4f7172 Minor pedantic changes 2016-05-12 12:24:14 +02:00
TuxSH 03dc4fc425 Update the FRIENDS module patch 2016-05-11 14:43:24 +02:00
TuxSH b4029dcd73 Merge branch 'master' into developer
Conflicts:
	source/firm.c
	source/patches.h
2016-05-11 01:32:06 +02:00
TuxSH 1750b256eb Do things right 2016-05-11 01:08:54 +02:00
TuxSH d00d82ac89 Update firm.c 2016-05-10 23:27:54 +02:00
TuxSH edb5a82a89 Restore svcBackdoor (on ARM11, for 11.0 and higher) 2016-05-10 23:06:32 +02:00