diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2020-04-12 17:26:03 -0400 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2020-04-12 17:26:03 -0400 |
commit | 09fa95f0e27e9a835f5535a776f6a22861c7c4a0 (patch) | |
tree | b26cfd33de21f5b3cf8cc78f27bde7352e997495 /asm | |
parent | f2052ca8ef06f858037d6657b377197dd8772f4c (diff) |
arm9 segment work
Diffstat (limited to 'asm')
-rw-r--r-- | asm/rom2.s | 2 | ||||
-rw-r--r-- | asm/rom3.s | 5 | ||||
-rw-r--r-- | asm/rom_header.s | 6 |
3 files changed, 9 insertions, 4 deletions
@@ -2,4 +2,4 @@ .section .text -.incbin "baserom.nds", 0x4E0C, 0x3FFB1F4 +.incbin "baserom.nds", 0x4E0C, 0x106918 diff --git a/asm/rom3.s b/asm/rom3.s new file mode 100644 index 00000000..ddb524ba --- /dev/null +++ b/asm/rom3.s @@ -0,0 +1,5 @@ +/* rom3.s TODO: Disassemble */ + +.section .text + +.incbin "baserom.nds", 0x10B724, 0x3EF48DC diff --git a/asm/rom_header.s b/asm/rom_header.s index a8583e2b..2dc62ad5 100644 --- a/asm/rom_header.s +++ b/asm/rom_header.s @@ -29,13 +29,13 @@ RomVersion: .space 1 ARM9ROMOffset: -.word _rom_codeSegmentRomStart +.word _arm9SegmentRomStart ARM9EntryAddress: .word Entry ARM9RAMAddress: -.word _rom_codeSegmentStart +.word _arm9SegmentStart ARM9CodeSize: -.word 0x00107724 +.word _arm9SegmentSize ARM7ROMOffset: .word 0x0030D000 ARM7EntryAddress: |