This adds some position independent code at the beginning of the ndsk bootloader to figure out what address we are loaded at and then relocates the main bootloader to address 0xC000 before jumping to it.
This allows us to boot on rom variants that load at 0x240d instead of 0x140d.
This adds some position independent code at the beginning of the ndsk bootloader to figure out what address we are loaded at and then relocates the main bootloader to address 0xC000 before jumping to it.
This allows us to boot on rom variants that load at 0x240d instead of 0x140d.