]> Chaos Git - corbenik/corbenik.git/commit
BOOM, FIRMLAUNCH IS A GO
authorJon Feldman <chaos.kagami@gmail.com>
Sat, 11 Feb 2017 12:15:13 +0000 (07:15 -0500)
committerJon Feldman <chaos.kagami@gmail.com>
Sat, 11 Feb 2017 12:17:01 +0000 (07:17 -0500)
commitc1770d10e9c9048f0c245af2df8eb22260faf8a4
tree1db80d73284063e4b9cac4f5931b7438273ff96e
parent5cceb0946f467f70340a157b48f31ea5fdd7f88e
BOOM, FIRMLAUNCH IS A GO

Turns out the entrypoint under firmlaunch for ARM11 is at 0x1FFFFFFC, not 0x1FFFFFF8 like arm9loaderhax / brahma

That also explains why screeninit fails on firmlaunch; the wrong entry is used.

Either way I still want to do some cleanup, but it works now.

I'm going to slap a big thank you here to the authors of Luma3DS. I never would have realized the entrypoint was different unless I looked at their code.
boot/arm11.c
boot/corbenik.c
boot/firm/firmlaunch.c
include/arm11.h
include/firm/firm.h
include/patcher.h