mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
Maybe get multiboot to work?
This commit is contained in:
parent
ec6774ca6b
commit
1c0e9f9a2a
|
@ -16,18 +16,15 @@ MEMORY {
|
|||
iwram (w!x) : ORIGIN = 0x03000000, LENGTH = 32K - __bios_reserved_iwram
|
||||
}
|
||||
|
||||
__text_start = ORIGIN(ewram);
|
||||
|
||||
SECTIONS {
|
||||
. = __text_start;
|
||||
. = ORIGIN(ewram);
|
||||
|
||||
.text : {
|
||||
KEEP(*(.crt0));
|
||||
*(.crt0 .crt0*);
|
||||
*(.entrypoint.multiboot .entrypoint.common);
|
||||
|
||||
*(.text .text*);
|
||||
. = ALIGN(4);
|
||||
} > ewram
|
||||
__text_end = .;
|
||||
|
||||
.rodata : {
|
||||
*(.rodata .rodata.*);
|
||||
|
|
|
@ -34,6 +34,7 @@ __start:
|
|||
@ Filled in by gbafix
|
||||
.space 192
|
||||
@ multiboot launch point
|
||||
.global __mb_entry
|
||||
__mb_entry:
|
||||
b .Initialise_mb
|
||||
|
||||
|
|
Loading…
Reference in a new issue