2016-11-11 06:47:56 +01:00
|
|
|
.include "defines.s"
|
2016-11-12 03:29:35 +01:00
|
|
|
.create "rom.nds", 0
|
2016-11-07 02:11:18 +01:00
|
|
|
|
2016-11-11 06:47:56 +01:00
|
|
|
.nds
|
2016-11-07 02:11:18 +01:00
|
|
|
|
|
|
|
.org 0x000
|
|
|
|
.ascii "HAXCHI" ; Game Title
|
|
|
|
|
|
|
|
.org 0x00C
|
|
|
|
.ascii "HAXX" ; Gamecode
|
|
|
|
.ascii "01" ; Makercode
|
|
|
|
.byte 0x00 ; Unitcode
|
|
|
|
|
|
|
|
.org 0x020
|
|
|
|
.word arm9_data ; ARM9 rom_offset
|
2016-11-10 04:52:25 +01:00
|
|
|
.word 0x2000800 ; ARM9 entry_address
|
|
|
|
.word 0x2000000 ; ARM9 ram_address
|
2016-11-07 02:11:18 +01:00
|
|
|
.word arm9_data_end - arm9_data ; ARM9 size
|
|
|
|
.word arm7_data ; ARM7 rom_offset
|
|
|
|
.word 0x2000000 ; ARM7 entry_address
|
2016-11-11 06:47:56 +01:00
|
|
|
.word ARM7_ROM_MEM2_START + HAX_TARGET_ADDRESS ; ARM7 ram_address
|
2016-11-07 02:11:18 +01:00
|
|
|
.word arm7_data_end - arm7_data ; ARM7 size
|
|
|
|
|
|
|
|
.org 0x080
|
|
|
|
.word total_size ; Total Used ROM size
|
|
|
|
.word 0x4000 ; ROM Header Size
|
|
|
|
|
|
|
|
.org 0x8000
|
|
|
|
arm9_data:
|
|
|
|
.incbin "haxchi_rop.bin"
|
|
|
|
arm9_data_end:
|
|
|
|
|
|
|
|
.align 0x1000
|
|
|
|
arm7_data:
|
|
|
|
.incbin "haxchi_rop_hook.bin"
|
|
|
|
arm7_data_end:
|
|
|
|
|
|
|
|
total_size:
|
|
|
|
|
|
|
|
.Close
|