TuxSH
d6c6c421e9
Allow empty sections at any place in FIRMs
2017-06-02 19:34:52 +02:00
TuxSH
90b54581b0
Fix two bugs
2017-06-02 19:34:51 +02:00
TuxSH
dd21a3930d
Adapt changes from b9s/next
2017-06-02 19:34:47 +02:00
TuxSH
53209b9be0
Begin turning Luma3DS into a proper firm
...
Unfinished work
2017-06-02 19:34:46 +02:00
Aurora Wright
6eadac23b3
Not needed
2017-05-21 19:38:58 +02:00
Aurora Wright
de0f1dc156
Use arm11 entry define for screen.c, fix isFirmlaunch not being always defined
2017-05-20 13:52:47 +02:00
Aurora Wright
57900e91ba
Minor stuff
2017-05-20 05:26:01 +02:00
TuxSH
2d7c1e42d8
Fix loader, other fixes
2017-05-20 01:04:32 +02:00
TuxSH
9f12a47cfc
Fix string handling bugs
2017-05-19 22:40:07 +02:00
TuxSH
ee880802c8
Fix crt0 & include missing files
2017-05-19 22:07:12 +02:00
TuxSH
ab14e77b50
Remove A9LH & Brahma support altogether, use FIRM format instead
2017-05-19 22:06:49 +02:00
TuxSH
3b766de306
Fix derp in loader
2017-05-17 22:11:09 +02:00
TuxSH
73e363d159
Fix derp
2017-05-17 17:24:48 +02:00
TuxSH
3ac134bc16
Fix screen issue, etc.
2017-05-17 17:16:16 +02:00
Aurora Wright
c7bb1f9655
Unbreak loader
2017-05-17 16:15:32 +02:00
TuxSH
b9bc41a772
Groundwork
...
Change the payload loader location
Always set keys 0x18..0x1F
Set arm11 entrypoint correctly
2017-05-17 13:02:01 +02:00
TuxSH
b3f38a8764
Update cache.s
...
Comments
2016-10-31 14:18:29 +01:00
Aurora
fb274538e1
Minor stuff
2016-09-23 19:03:59 +02:00
Aurora
2f915401dd
Minor stuff
2016-09-15 20:15:20 +02:00
Aurora
8f32048774
Spaces, spaces everywhere
2016-09-06 13:43:00 +02:00
Aurora
52999db43a
Readability stuff
2016-08-28 14:41:18 +02:00
Aurora
ee3720f0b7
Make loader more readable, use an array instead of a fixed location for the emuNAND test sector
2016-08-16 18:47:27 +02:00
TuxSH
905777466d
Don't set retail keys on dev units.
2016-08-06 22:38:06 +02:00
Aurora
136e0d8974
Cleanup
2016-07-01 20:27:28 +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
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
Aurora
905f816bbe
Get rid of the double FatFs
2016-05-03 03:17:00 +02:00
Aurora
df112b550b
Move loadPayload to fs.c, and the path to the beginning of the chainloader
2016-04-29 17:22:13 +02:00
Aurora
c6d3158b56
Remade the chainloader to only try to load the right payload for the pressed button, got rid of the default payload (start now boots "start_NAME.bin"), sel_NAME is now select_NAME as there is no more SFN limitations anymore
2016-04-29 15:08:33 +02:00
Aurora
e651c3d9cc
Small cleanup
2016-04-28 16:27:32 +02:00
Aurora
ada3e09784
Added L+A payload
2016-04-24 19:46:33 +02:00
Aurora
3fd4603553
Welcome Luma3DS
2016-04-23 01:43:36 +02:00
Aurora
d0d6baaa85
We do not need this anymore (D9/E9/GM9 were updated)
2016-04-18 18:52:58 +02:00
Aurora
fd4352a1d6
Remove useless sdmmc code (we do not need NAND init/read from loader, or write at all
2016-04-18 18:29:37 +02:00
Aurora
08808da741
Update FatFs to 0.12
2016-04-18 18:04:04 +02:00
Aurora
a11124a3d6
Remove LFN support from the loader FatFs as it is not used. Slims down the binary by ~4 KBs
2016-04-18 04:47:53 +02:00
Aurora
d2d6e786c7
Fixed L+SELECT payload being broken (annoying LFN to 8.3 conversion rules). Now the payload is sel_NAME.bin
2016-04-18 02:55:54 +02:00
Aurora
a76c943c01
Reinstated the L+SELECT payload
2016-04-17 19:35:29 +02:00
Aurora
06060c67b5
Changed the chainloader to load payloads named "BUTTON_NAME.bin", to remember which payload is which. Original idea and code by @habbbe (many thanks!)
2016-04-17 18:57:25 +02:00
Aurora
0f64fd73ec
Fix bug when quitting AGB_FIRM
...
The wrong config.bin section was used to remember the last-used FIRM
2016-04-16 20:27:52 +02:00
habbbe
22b38a0f88
Made define for payload paths (removes repeated parts of file paths to payloads)
2016-04-16 18:21:42 +02:00
Aurora
160bc36ae8
Update FatFs for the loader
2016-04-11 15:13:05 +02:00
Aurora
0001f301f8
Cleanup, fixed the second emuNAND patched FIRM still getting created, removed injector SOAP patch as it changes nothing without going to great lengths to change the region of a NNID, made L not needed to load payloads except for R and Select (Start is now default)
2016-04-04 18:07:13 +02:00
Aurora
a181bba9f2
Added TWL/AGB FIRM patching/SD loading for New and Old 3DS (thanks to mid-kid of CakesFW for making it possible!)
2016-04-03 17:56:09 +02:00
Aurora
993e564fbb
u32-ify
2016-04-02 22:02:16 +02:00
Aurora
3475cfe1e6
Changed indentation style across the code to make it more readable, added newlines before comments, moved patches to separate functions, made memory operations slightly faster by compiling them with O3 (thanks TuxSH!)
2016-04-02 18:22:47 +02:00
Aurora
f4c48a64ca
Fixed loading the alternate EmuNAND if 9.0 FIRM was set as default, improved comments and further cleanup of the injector
2016-03-31 01:38:28 +02:00
Aurora
1e2bf61dcf
Possibly makes FatFs faster, does not affect loader size much
2016-03-27 16:42:19 +02:00
Aurora
c413b6d07f
Simplified button stuff
2016-03-24 16:11:53 +01:00