move remaining rom_header/crt0 stuff to src

This commit is contained in:
Seth Barberee 2025-08-24 10:58:37 -07:00
parent c49b935807
commit 4e7f0283ed
4 changed files with 10 additions and 11 deletions

View File

@ -45,7 +45,8 @@ SECTIONS {
.text :
ALIGN(4)
{
asm/crt0.o(.text);
src/rom_header.o(.text);
src/crt0.o(.text);
src/code_80001DC.o(.text);
src/arm_funcs.o(.text);
src/main_loops.o(.text);

View File

@ -39,7 +39,8 @@ SECTIONS {
.text :
ALIGN(4)
{
asm/crt0.o(.text);
src/rom_header.o(.text);
src/crt0.o(.text);
src/code_80001DC.o(.text);
src/main_loops.o(.text);
src/*.o(.text*);

View File

@ -2,18 +2,10 @@
.syntax unified
.global Start
.text
.arm
Start: @ 8000000
b Init
#include "rom_header.inc"
.arm
.align 2, 0
.global Init
Init: @ 80000C0

View File

@ -1,4 +1,9 @@
.global RomHeaderNintendoLogo
.global Start
Start: @ 8000000
b Init
.global RomHeaderNintendoLogo
RomHeaderNintendoLogo:
.space 156