TuxSH and GitHub
796cb31ed7
Update exceptions.c
2016-11-12 13:18:24 +01:00
TuxSH and GitHub
5adb8749de
Add support for installing retail 0x3D[0] key-encrypted CIAs on dev units
...
When "UNITINFO" is enabled
2016-11-12 02:14:35 +01:00
TuxSH and GitHub
a2cfa2be16
Fix same handling bug on arm9
2016-11-11 00:30:49 +01:00
TuxSH and GitHub
4b06bb7795
Fix svcBreak handling bug
2016-11-06 00:05:12 +01:00
TuxSH and GitHub
b3f38a8764
Update cache.s
...
Comments
2016-10-31 14:18:29 +01:00
TuxSH and GitHub
080219f88d
Update reboot.s
2016-10-22 23:38:26 +02:00
TuxSH
1ad600c81a
Make the exception dump parser output the disassembly of the dumped code (when it's possible)
2016-10-06 00:16:21 +02:00
TuxSH
bd6c7b7fdb
Fix the arm11 exception handlers on < 7.x
2016-09-30 22:46:48 +02:00
TuxSH and GitHub
a5b52a2470
Fix latest commit
2016-09-21 11:25:44 +02:00
TuxSH
efe66bc72e
Make option descriptions more readable, fix bug in draw.c
2016-09-18 17:40:00 +02:00
TuxSH
50e5c29b1c
Display the stack dump partially on the bottom screen when handling an exception
2016-09-13 00:52:15 +02:00
TuxSH
7271850df2
Remove some ifdefs
2016-09-11 01:33:51 +02:00
TuxSH
e6645554f0
Merge branch 'master' into developer
...
Conflicts:
source/firm.c
source/patches.c
source/patches.h
2016-09-10 21:35:23 +02:00
TuxSH
0f83d1ffaa
Fix broken assumptions and bugs
2016-09-10 21:12:53 +02:00
TuxSH and Aurora
3bc247b43b
Update firm.c
2016-09-01 17:09:58 +02:00
TuxSH
8982ff259a
Add support for 1.x NATIVE_FIRM (on sysNAND) and the O3DS v0 SAFE_FIRM
2016-08-31 19:30:45 +02:00
TuxSH
8ceeca372f
Fix build issue
2016-08-31 13:24:29 +02:00
TuxSH
4326ac9be1
Merge branch 'developer' of https://github.com/AuroraWright/Luma3DS into developer
...
Conflicts:
source/patches.c
2016-08-31 13:14:12 +02:00
TuxSH
697c64abe4
Fix and restrain module access checks
2016-08-31 13:11:41 +02:00
TuxSH
cb9576b10e
Merge branch 'master' into developer
...
Conflicts:
source/firm.c
source/firm.h
source/patches.c
source/patches.h
2016-08-29 20:12:23 +02:00
TuxSH and Aurora
06fe06f9f1
Update CFWInfo.h
2016-08-29 18:23:06 +02:00
TuxSH
46227e6763
Fix build issues on some environments.
2016-08-29 17:51:03 +02:00
TuxSH
51c514de84
Add back reboot patch on 2.x
2016-08-28 11:48:35 +02:00
TuxSH
83a0293af4
Add support (firmprot and firmlaunch patches) for 2.x on sysNAND
2016-08-28 00:32:47 +02:00
TuxSH
84f3eddaf8
Merge branch 'master' into developer
...
Conflicts:
source/config.c
source/config.h
2016-08-27 19:31:42 +02:00
TuxSH
a5c6b908b6
Fix reboot patch for 5.x/6.x
2016-08-27 18:10:51 +02:00
TuxSH and GitHub
dca612ffd7
Update firm.c
2016-08-27 13:13:43 +02:00
TuxSH and GitHub
5177308d48
Update firm.c
2016-08-27 13:11:55 +02:00
TuxSH
59ab44a8c7
Merge branch 'master' into developer
...
Conflicts:
source/firm.c
2016-08-27 00:44:31 +02:00
TuxSH
58c6be17eb
Merge branch 'master' into developer
2016-08-27 00:11:34 +02:00
TuxSH
259bcc686c
Merge branch 'master' into developer
...
Conflicts:
source/config.c
source/firm.c
2016-08-26 23:28:31 +02:00
TuxSH
7afdc2b3b5
"Fix" the twlbg patches and make them optional
2016-08-26 19:09:14 +02:00
TuxSH
4c6a2f7ab1
Fix bug in svcBreak handling.
2016-08-26 11:38:50 +02:00
TuxSH
76cee0d95b
Merge branch 'master' into developer
2016-08-25 21:22:32 +02:00
TuxSH
7331a919e4
Fix bug.
2016-08-25 18:53:37 +02:00
TuxSH
27ea6b96c4
Merge branch 'master' into developer
...
Conflicts:
Makefile
source/firm.c
source/patches.c
2016-08-25 18:49:00 +02:00
TuxSH
33238cee54
Remove loading of /luma/TwlBg.cxi, fix bugs.
2016-08-25 16:39:43 +02:00
TuxSH
384dd2ad81
Implement on-the-fly patching of TwlBg
...
(and port the patches from https://github.com/ahezard/twl_firm_patcher ; big thanks to ahezard and people mentioned in this page; also to Subv for the original patching idea (for NATIVE_FIRM))
2016-08-25 00:13:43 +02:00
TuxSH
4885e0b8d8
On second thought...
2016-08-23 20:51:48 +02:00
TuxSH
2a84911d3b
Setting "Dev. options" to "None" now disables the exception handlers and related patches (again)
...
Port the UNITINFO patch to TWL/AGB (although it doesn't make debugging information display on fatal errors) and SAFE firms.
On dev units this patch will set it to its "retail" value (i.e. 0)
2016-08-23 20:39:42 +02:00
TuxSH
7f672fb417
Fix an off-by-one error in the exception handlers
2016-08-22 01:21:29 +02:00
TuxSH
a13fdeecf6
Merge branch 'master' into developer
...
Conflicts:
source/firm.c
source/patches.c
source/patches.h
2016-08-21 22:31:39 +02:00
TuxSH
74ac76ba84
Merge branch 'master' of https://github.com/AuroraWright/Luma3DS
2016-08-21 22:09:47 +02:00
TuxSH
253e031f83
Add support for loading /luma/TwlBg.cxi (on dev branch this will take precedence)
2016-08-21 22:09:27 +02:00
TuxSH and GitHub
ef1ecf859c
Update draw.c
2016-08-20 19:59:25 +02:00
TuxSH and GitHub
a302ad3bea
R.I.P boot speed boost (for now)
2016-08-20 18:45:56 +02:00
TuxSH
0951260df7
Merge branch 'master' into developer
...
Conflicts:
source/patches.c
2016-08-18 00:39:21 +02:00
TuxSH and GitHub
b87dadbb72
Update patches.c
2016-08-18 00:36:28 +02:00
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
TuxSH and GitHub
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