Any way to change ARM9 entry adress?
Any way to change ARM9 entry adress?
Hello is there anyway to change the ARM9 entry adress?
Hello from Germany!
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Any way to change ARM9 entry adress?
That kind of depends on what you mean by changing the arm9 entry address. What's this for?
Re: Any way to change ARM9 entry adress?
acekard 2i autoboot, if the ARM9 adress is 0x02000450 it boots, if the ARM9 adress is 0x02000000 it doesn't boot...
Hello from Germany!
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Any way to change ARM9 entry adress?
Add this to the LDFLAGS in your arm9 makefile.
.init is the first section in the binary, used to make sure the crt0 goes at the start regardless of link order, --nmagic prevents the linker from aligning the output sections to a page boundary. 0x02000450 is obviously the requested start address and can be anywhere in the 4meg region.
Code: Select all
-Wl,--section-start,.init=0x02000450,--nmagic
Re: Any way to change ARM9 entry adress?
Thanks WinterMute!
You and devkitpro are the best!
You and devkitpro are the best!
Hello from Germany!
Who is online
Users browsing this forum: Ahrefs [Bot] and 3 guests