Maybe get multiboot to work?

This commit is contained in:
Gwilym Inzani 2023-10-17 23:15:51 +01:00
parent ec6774ca6b
commit 1c0e9f9a2a
2 changed files with 4 additions and 6 deletions

View file

@ -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.*);

View file

@ -34,6 +34,7 @@ __start:
@ Filled in by gbafix
.space 192
@ multiboot launch point
.global __mb_entry
__mb_entry:
b .Initialise_mb