mirror of
https://github.com/pret/pmd-red.git
synced 2026-03-21 17:46:39 -05:00
move remaining rom_header/crt0 stuff to src
This commit is contained in:
parent
c49b935807
commit
4e7f0283ed
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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*);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -1,4 +1,9 @@
|
|||
.global RomHeaderNintendoLogo
|
||||
|
||||
.global Start
|
||||
Start: @ 8000000
|
||||
b Init
|
||||
|
||||
.global RomHeaderNintendoLogo
|
||||
RomHeaderNintendoLogo:
|
||||
.space 156
|
||||
|
||||
Loading…
Reference in New Issue
Block a user