summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--asm/narc.s450
-rw-r--r--asm/unk_339000.s2
-rw-r--r--ld_script.txt6
3 files changed, 453 insertions, 5 deletions
diff --git a/asm/narc.s b/asm/narc.s
new file mode 100644
index 00000000..c6a266c0
--- /dev/null
+++ b/asm/narc.s
@@ -0,0 +1,450 @@
+ .text
+ .incbin "baserom.nds", 0x339000, 0x0033f800 - 0x00339000
+ .global NARC_0033f800
+NARC_0033f800:
+ .incbin "baserom.nds", 0x0033f800, 0x003fac00 - 0x0033f800
+ .global NARC_003fac00
+NARC_003fac00:
+ .incbin "baserom.nds", 0x003fac00, 0x00417600 - 0x003fac00
+ .global NARC_00417600
+NARC_00417600:
+ .incbin "baserom.nds", 0x00417600, 0x00426e00 - 0x00417600
+ .global NARC_00426e00
+NARC_00426e00:
+ .incbin "baserom.nds", 0x00426e00, 0x00442c00 - 0x00426e00
+ .global NARC_00442c00
+NARC_00442c00:
+ .incbin "baserom.nds", 0x00442c00, 0x00445800 - 0x00442c00
+ .global NARC_00445800
+NARC_00445800:
+ .incbin "baserom.nds", 0x00445800, 0x00445c00 - 0x00445800
+ .global NARC_00445c00
+NARC_00445c00:
+ .incbin "baserom.nds", 0x00445c00, 0x0044da00 - 0x00445c00
+ .global NARC_0044da00
+NARC_0044da00:
+ .incbin "baserom.nds", 0x0044da00, 0x00452800 - 0x0044da00
+ .global NARC_00452800
+NARC_00452800:
+ .incbin "baserom.nds", 0x00452800, 0x00473000 - 0x00452800
+ .global NARC_00473000
+NARC_00473000:
+ .incbin "baserom.nds", 0x00473000, 0x00476a00 - 0x00473000
+ .global NARC_00476a00
+NARC_00476a00:
+ .incbin "baserom.nds", 0x00476a00, 0x00494600 - 0x00476a00
+ .global NARC_00494600
+NARC_00494600:
+ .incbin "baserom.nds", 0x00494600, 0x0049a200 - 0x00494600
+ .global NARC_0049a200
+NARC_0049a200:
+ .incbin "baserom.nds", 0x0049a200, 0x0057fc00 - 0x0049a200
+ .global NARC_0057fc00
+NARC_0057fc00:
+ .incbin "baserom.nds", 0x0057fc00, 0x0058fa00 - 0x0057fc00
+ .global NARC_0058fa00
+NARC_0058fa00:
+ .incbin "baserom.nds", 0x0058fa00, 0x00593400 - 0x0058fa00
+ .global NARC_00593400
+NARC_00593400:
+ .incbin "baserom.nds", 0x00593400, 0x00cbb200 - 0x00593400
+ .global NARC_00cbb200
+NARC_00cbb200:
+ .incbin "baserom.nds", 0x00cbb200, 0x00f4d400 - 0x00cbb200
+ .global NARC_00f4d400
+NARC_00f4d400:
+ .incbin "baserom.nds", 0x00f4d400, 0x00f4f000 - 0x00f4d400
+ .global NARC_00f4f000
+NARC_00f4f000:
+ .incbin "baserom.nds", 0x00f4f000, 0x00f54c00 - 0x00f4f000
+ .global NARC_00f54c00
+NARC_00f54c00:
+ .incbin "baserom.nds", 0x00f54c00, 0x00f55400 - 0x00f54c00
+ .global NARC_00f55400
+NARC_00f55400:
+ .incbin "baserom.nds", 0x00f55400, 0x0102ec00 - 0x00f55400
+ .global NARC_0102ec00
+NARC_0102ec00:
+ .incbin "baserom.nds", 0x0102ec00, 0x0102f000 - 0x0102ec00
+ .global NARC_0102f000
+NARC_0102f000:
+ .incbin "baserom.nds", 0x0102f000, 0x0102f400 - 0x0102f000
+ .global NARC_0102f400
+NARC_0102f400:
+ .incbin "baserom.nds", 0x0102f400, 0x0102f800 - 0x0102f400
+ .global NARC_0102f800
+NARC_0102f800:
+ .incbin "baserom.nds", 0x0102f800, 0x01b6b400 - 0x0102f800
+ .global NARC_01b6b400
+NARC_01b6b400:
+ .incbin "baserom.nds", 0x01b6b400, 0x01b78200 - 0x01b6b400
+ .global NARC_01b78200
+NARC_01b78200:
+ .incbin "baserom.nds", 0x01b78200, 0x01c14a00 - 0x01b78200
+ .global NARC_01c14a00
+NARC_01c14a00:
+ .incbin "baserom.nds", 0x01c14a00, 0x01c1b000 - 0x01c14a00
+ .global NARC_01c1b000
+NARC_01c1b000:
+ .incbin "baserom.nds", 0x01c1b000, 0x01c21600 - 0x01c1b000
+ .global NARC_01c21600
+NARC_01c21600:
+ .incbin "baserom.nds", 0x01c21600, 0x01c22800 - 0x01c21600
+ .global NARC_01c22800
+NARC_01c22800:
+ .incbin "baserom.nds", 0x01c22800, 0x01c27200 - 0x01c22800
+ .global NARC_01c27200
+NARC_01c27200:
+ .incbin "baserom.nds", 0x01c27200, 0x01c2d000 - 0x01c27200
+ .global NARC_01c2d000
+NARC_01c2d000:
+ .incbin "baserom.nds", 0x01c2d000, 0x01c32600 - 0x01c2d000
+ .global NARC_01c32600
+NARC_01c32600:
+ .incbin "baserom.nds", 0x01c32600, 0x01c34c00 - 0x01c32600
+ .global NARC_01c34c00
+NARC_01c34c00:
+ .incbin "baserom.nds", 0x01c34c00, 0x01c35400 - 0x01c34c00
+ .global NARC_01c35400
+NARC_01c35400:
+ .incbin "baserom.nds", 0x01c35400, 0x01c3a400 - 0x01c35400
+ .global NARC_01c3a400
+NARC_01c3a400:
+ .incbin "baserom.nds", 0x01c3a400, 0x01c4c800 - 0x01c3a400
+ .global NARC_01c4c800
+NARC_01c4c800:
+ .incbin "baserom.nds", 0x01c4c800, 0x01ce8e00 - 0x01c4c800
+ .global NARC_01ce8e00
+NARC_01ce8e00:
+ .incbin "baserom.nds", 0x01ce8e00, 0x01d09200 - 0x01ce8e00
+ .global NARC_01d09200
+NARC_01d09200:
+ .incbin "baserom.nds", 0x01d09200, 0x01d0e400 - 0x01d09200
+ .global NARC_01d0e400
+NARC_01d0e400:
+ .incbin "baserom.nds", 0x01d0e400, 0x01d4c600 - 0x01d0e400
+ .global NARC_01d4c600
+NARC_01d4c600:
+ .incbin "baserom.nds", 0x01d4c600, 0x01d4f800 - 0x01d4c600
+ .global NARC_01d4f800
+NARC_01d4f800:
+ .incbin "baserom.nds", 0x01d4f800, 0x01d53a00 - 0x01d4f800
+ .global NARC_01d53a00
+NARC_01d53a00:
+ .incbin "baserom.nds", 0x01d53a00, 0x01d60200 - 0x01d53a00
+ .global NARC_01d60200
+NARC_01d60200:
+ .incbin "baserom.nds", 0x01d60200, 0x01d61c00 - 0x01d60200
+ .global NARC_01d61c00
+NARC_01d61c00:
+ .incbin "baserom.nds", 0x01d61c00, 0x01d63200 - 0x01d61c00
+ .global NARC_01d63200
+NARC_01d63200:
+ .incbin "baserom.nds", 0x01d63200, 0x01d64600 - 0x01d63200
+ .global NARC_01d64600
+NARC_01d64600:
+ .incbin "baserom.nds", 0x01d64600, 0x01d6c800 - 0x01d64600
+ .global NARC_01d6c800
+NARC_01d6c800:
+ .incbin "baserom.nds", 0x01d6c800, 0x01d6da00 - 0x01d6c800
+ .global NARC_01d6da00
+NARC_01d6da00:
+ .incbin "baserom.nds", 0x01d6da00, 0x01d70800 - 0x01d6da00
+ .global NARC_01d70800
+NARC_01d70800:
+ .incbin "baserom.nds", 0x01d70800, 0x01da6200 - 0x01d70800
+ .global NARC_01da6200
+NARC_01da6200:
+ .incbin "baserom.nds", 0x01da6200, 0x01dc0000 - 0x01da6200
+ .global NARC_01dc0000
+NARC_01dc0000:
+ .incbin "baserom.nds", 0x01dc0000, 0x01ddbc00 - 0x01dc0000
+ .global NARC_01ddbc00
+NARC_01ddbc00:
+ .incbin "baserom.nds", 0x01ddbc00, 0x01ddfe00 - 0x01ddbc00
+ .global NARC_01ddfe00
+NARC_01ddfe00:
+ .incbin "baserom.nds", 0x01ddfe00, 0x01de0200 - 0x01ddfe00
+ .global NARC_01de0200
+NARC_01de0200:
+ .incbin "baserom.nds", 0x01de0200, 0x01de7e00 - 0x01de0200
+ .global NARC_01de7e00
+NARC_01de7e00:
+ .incbin "baserom.nds", 0x01de7e00, 0x01de8600 - 0x01de7e00
+ .global NARC_01de8600
+NARC_01de8600:
+ .incbin "baserom.nds", 0x01de8600, 0x01de8a00 - 0x01de8600
+ .global NARC_01de8a00
+NARC_01de8a00:
+ .incbin "baserom.nds", 0x01de8a00, 0x01e3a200 - 0x01de8a00
+ .global NARC_01e3a200
+NARC_01e3a200:
+ .incbin "baserom.nds", 0x01e3a200, 0x01e5c800 - 0x01e3a200
+ .global NARC_01e5c800
+NARC_01e5c800:
+ .incbin "baserom.nds", 0x01e5c800, 0x01e5f200 - 0x01e5c800
+ .global NARC_01e5f200
+NARC_01e5f200:
+ .incbin "baserom.nds", 0x01e5f200, 0x01e69c00 - 0x01e5f200
+ .global NARC_01e69c00
+NARC_01e69c00:
+ .incbin "baserom.nds", 0x01e69c00, 0x01e73400 - 0x01e69c00
+ .global NARC_01e73400
+NARC_01e73400:
+ .incbin "baserom.nds", 0x01e73400, 0x01e73800 - 0x01e73400
+ .global NARC_01e73800
+NARC_01e73800:
+ .incbin "baserom.nds", 0x01e73800, 0x01e94800 - 0x01e73800
+ .global NARC_01e94800
+NARC_01e94800:
+ .incbin "baserom.nds", 0x01e94800, 0x01e94e00 - 0x01e94800
+ .global NARC_01e94e00
+NARC_01e94e00:
+ .incbin "baserom.nds", 0x01e94e00, 0x01e9ce00 - 0x01e94e00
+ .global NARC_01e9ce00
+NARC_01e9ce00:
+ .incbin "baserom.nds", 0x01e9ce00, 0x01edb600 - 0x01e9ce00
+ .global NARC_01edb600
+NARC_01edb600:
+ .incbin "baserom.nds", 0x01edb600, 0x01ef5800 - 0x01edb600
+ .global NARC_01ef5800
+NARC_01ef5800:
+ .incbin "baserom.nds", 0x01ef5800, 0x01efa400 - 0x01ef5800
+ .global NARC_01efa400
+NARC_01efa400:
+ .incbin "baserom.nds", 0x01efa400, 0x01efb600 - 0x01efa400
+ .global NARC_01efb600
+NARC_01efb600:
+ .incbin "baserom.nds", 0x01efb600, 0x01f03000 - 0x01efb600
+ .global NARC_01f03000
+NARC_01f03000:
+ .incbin "baserom.nds", 0x01f03000, 0x01f30000 - 0x01f03000
+ .global NARC_01f30000
+NARC_01f30000:
+ .incbin "baserom.nds", 0x01f30000, 0x01f5c400 - 0x01f30000
+ .global NARC_01f5c400
+NARC_01f5c400:
+ .incbin "baserom.nds", 0x01f5c400, 0x01f5da00 - 0x01f5c400
+ .global NARC_01f5da00
+NARC_01f5da00:
+ .incbin "baserom.nds", 0x01f5da00, 0x01f64600 - 0x01f5da00
+ .global NARC_01f64600
+NARC_01f64600:
+ .incbin "baserom.nds", 0x01f64600, 0x01f6e400 - 0x01f64600
+ .global NARC_01f6e400
+NARC_01f6e400:
+ .incbin "baserom.nds", 0x01f6e400, 0x01f71600 - 0x01f6e400
+ .global NARC_01f71600
+NARC_01f71600:
+ .incbin "baserom.nds", 0x01f71600, 0x01f7fc00 - 0x01f71600
+ .global NARC_01f7fc00
+NARC_01f7fc00:
+ .incbin "baserom.nds", 0x01f7fc00, 0x01f86600 - 0x01f7fc00
+ .global NARC_01f86600
+NARC_01f86600:
+ .incbin "baserom.nds", 0x01f86600, 0x01f87c00 - 0x01f86600
+ .global NARC_01f87c00
+NARC_01f87c00:
+ .incbin "baserom.nds", 0x01f87c00, 0x01f8a000 - 0x01f87c00
+ .global NARC_01f8a000
+NARC_01f8a000:
+ .incbin "baserom.nds", 0x01f8a000, 0x01fa9200 - 0x01f8a000
+ .global NARC_01fa9200
+NARC_01fa9200:
+ .incbin "baserom.nds", 0x01fa9200, 0x01faa800 - 0x01fa9200
+ .global NARC_01faa800
+NARC_01faa800:
+ .incbin "baserom.nds", 0x01faa800, 0x01fb0200 - 0x01faa800
+ .global NARC_01fb0200
+NARC_01fb0200:
+ .incbin "baserom.nds", 0x01fb0200, 0x01fb2a00 - 0x01fb0200
+ .global NARC_01fb2a00
+NARC_01fb2a00:
+ .incbin "baserom.nds", 0x01fb2a00, 0x01fc7a00 - 0x01fb2a00
+ .global NARC_01fc7a00
+NARC_01fc7a00:
+ .incbin "baserom.nds", 0x01fc7a00, 0x01fc8400 - 0x01fc7a00
+ .global NARC_01fc8400
+NARC_01fc8400:
+ .incbin "baserom.nds", 0x01fc8400, 0x02000000 - 0x01fc8400
+ .global NARC_02000000
+NARC_02000000:
+ .incbin "baserom.nds", 0x02000000, 0x02001400 - 0x02000000
+ .global NARC_02001400
+NARC_02001400:
+ .incbin "baserom.nds", 0x02001400, 0x02004400 - 0x02001400
+ .global NARC_02004400
+NARC_02004400:
+ .incbin "baserom.nds", 0x02004400, 0x0200ce00 - 0x02004400
+ .global NARC_0200ce00
+NARC_0200ce00:
+ .incbin "baserom.nds", 0x0200ce00, 0x02018600 - 0x0200ce00
+ .global NARC_02018600
+NARC_02018600:
+ .incbin "baserom.nds", 0x02018600, 0x0201d400 - 0x02018600
+ .global NARC_0201d400
+NARC_0201d400:
+ .incbin "baserom.nds", 0x0201d400, 0x0207de00 - 0x0201d400
+ .global NARC_0207de00
+NARC_0207de00:
+ .incbin "baserom.nds", 0x0207de00, 0x0207e400 - 0x0207de00
+ .global NARC_0207e400
+NARC_0207e400:
+ .incbin "baserom.nds", 0x0207e400, 0x0210b600 - 0x0207e400
+ .global NARC_0210b600
+NARC_0210b600:
+ .incbin "baserom.nds", 0x0210b600, 0x02119c00 - 0x0210b600
+ .global NARC_02119c00
+NARC_02119c00:
+ .incbin "baserom.nds", 0x02119c00, 0x02242200 - 0x02119c00
+ .global NARC_02242200
+NARC_02242200:
+ .incbin "baserom.nds", 0x02242200, 0x0225e200 - 0x02242200
+ .global NARC_0225e200
+NARC_0225e200:
+ .incbin "baserom.nds", 0x0225e200, 0x022acc00 - 0x0225e200
+ .global NARC_022acc00
+NARC_022acc00:
+ .incbin "baserom.nds", 0x022acc00, 0x024f2600 - 0x022acc00
+ .global NARC_024f2600
+NARC_024f2600:
+ .incbin "baserom.nds", 0x024f2600, 0x024f3200 - 0x024f2600
+ .global NARC_024f3200
+NARC_024f3200:
+ .incbin "baserom.nds", 0x024f3200, 0x02515600 - 0x024f3200
+ .global NARC_02515600
+NARC_02515600:
+ .incbin "baserom.nds", 0x02515600, 0x02528c00 - 0x02515600
+ .global NARC_02528c00
+NARC_02528c00:
+ .incbin "baserom.nds", 0x02528c00, 0x0253c200 - 0x02528c00
+ .global NARC_0253c200
+NARC_0253c200:
+ .incbin "baserom.nds", 0x0253c200, 0x02712000 - 0x0253c200
+ .global NARC_02712000
+NARC_02712000:
+ .incbin "baserom.nds", 0x02712000, 0x02715000 - 0x02712000
+ .global NARC_02715000
+NARC_02715000:
+ .incbin "baserom.nds", 0x02715000, 0x02715400 - 0x02715000
+ .global NARC_02715400
+NARC_02715400:
+ .incbin "baserom.nds", 0x02715400, 0x02716800 - 0x02715400
+ .global NARC_02716800
+NARC_02716800:
+ .incbin "baserom.nds", 0x02716800, 0x0283be00 - 0x02716800
+ .global NARC_0283be00
+NARC_0283be00:
+ .incbin "baserom.nds", 0x0283be00, 0x0296ec00 - 0x0283be00
+ .global NARC_0296ec00
+NARC_0296ec00:
+ .incbin "baserom.nds", 0x0296ec00, 0x0296f200 - 0x0296ec00
+ .global NARC_0296f200
+NARC_0296f200:
+ .incbin "baserom.nds", 0x0296f200, 0x03787200 - 0x0296f200
+ .global NARC_03787200
+NARC_03787200:
+ .incbin "baserom.nds", 0x03787200, 0x0379ae00 - 0x03787200
+ .global NARC_0379ae00
+NARC_0379ae00:
+ .incbin "baserom.nds", 0x0379ae00, 0x037a0c00 - 0x0379ae00
+ .global NARC_037a0c00
+NARC_037a0c00:
+ .incbin "baserom.nds", 0x037a0c00, 0x037a4400 - 0x037a0c00
+ .global NARC_037a4400
+NARC_037a4400:
+ .incbin "baserom.nds", 0x037a4400, 0x037aca00 - 0x037a4400
+ .global NARC_037aca00
+NARC_037aca00:
+ .incbin "baserom.nds", 0x037aca00, 0x037b2400 - 0x037aca00
+ .global NARC_037b2400
+NARC_037b2400:
+ .incbin "baserom.nds", 0x037b2400, 0x037d7800 - 0x037b2400
+ .global NARC_037d7800
+NARC_037d7800:
+ .incbin "baserom.nds", 0x037d7800, 0x037d8600 - 0x037d7800
+ .global NARC_037d8600
+NARC_037d8600:
+ .incbin "baserom.nds", 0x037d8600, 0x03810200 - 0x037d8600
+ .global NARC_03810200
+NARC_03810200:
+ .incbin "baserom.nds", 0x03810200, 0x0381f000 - 0x03810200
+ .global NARC_0381f000
+NARC_0381f000:
+ .incbin "baserom.nds", 0x0381f000, 0x03821c00 - 0x0381f000
+ .global NARC_03821c00
+NARC_03821c00:
+ .incbin "baserom.nds", 0x03821c00, 0x03824200 - 0x03821c00
+ .global NARC_03824200
+NARC_03824200:
+ .incbin "baserom.nds", 0x03824200, 0x03824600 - 0x03824200
+ .global NARC_03824600
+NARC_03824600:
+ .incbin "baserom.nds", 0x03824600, 0x0382aa00 - 0x03824600
+ .global NARC_0382aa00
+NARC_0382aa00:
+ .incbin "baserom.nds", 0x0382aa00, 0x03835000 - 0x0382aa00
+ .global NARC_03835000
+NARC_03835000:
+ .incbin "baserom.nds", 0x03835000, 0x0383e200 - 0x03835000
+ .global NARC_0383e200
+NARC_0383e200:
+ .incbin "baserom.nds", 0x0383e200, 0x03841e00 - 0x0383e200
+ .global NARC_03841e00
+NARC_03841e00:
+ .incbin "baserom.nds", 0x03841e00, 0x03842600 - 0x03841e00
+ .global NARC_03842600
+NARC_03842600:
+ .incbin "baserom.nds", 0x03842600, 0x03843200 - 0x03842600
+ .global NARC_03843200
+NARC_03843200:
+ .incbin "baserom.nds", 0x03843200, 0x0385a600 - 0x03843200
+ .global NARC_0385a600
+NARC_0385a600:
+ .incbin "baserom.nds", 0x0385a600, 0x0385ce00 - 0x0385a600
+ .global NARC_0385ce00
+NARC_0385ce00:
+ .incbin "baserom.nds", 0x0385ce00, 0x0385d400 - 0x0385ce00
+ .global NARC_0385d400
+NARC_0385d400:
+ .incbin "baserom.nds", 0x0385d400, 0x0385d600 - 0x0385d400
+ .global NARC_0385d600
+NARC_0385d600:
+ .incbin "baserom.nds", 0x0385d600, 0x03860e00 - 0x0385d600
+ .global NARC_03860e00
+NARC_03860e00:
+ .incbin "baserom.nds", 0x03860e00, 0x03861000 - 0x03860e00
+ .global NARC_03861000
+NARC_03861000:
+ .incbin "baserom.nds", 0x03861000, 0x03863600 - 0x03861000
+ .global NARC_03863600
+NARC_03863600:
+ .incbin "baserom.nds", 0x03863600, 0x0387ea00 - 0x03863600
+ .global NARC_0387ea00
+NARC_0387ea00:
+ .incbin "baserom.nds", 0x0387ea00, 0x0388ca00 - 0x0387ea00
+ .global NARC_0388ca00
+NARC_0388ca00:
+ .incbin "baserom.nds", 0x0388ca00, 0x03923c00 - 0x0388ca00
+ .global NARC_03923c00
+NARC_03923c00:
+ .incbin "baserom.nds", 0x03923c00, 0x0392a200 - 0x03923c00
+ .global NARC_0392a200
+NARC_0392a200:
+ .incbin "baserom.nds", 0x0392a200, 0x0392fc00 - 0x0392a200
+ .global NARC_0392fc00
+NARC_0392fc00:
+ .incbin "baserom.nds", 0x0392fc00, 0x03938000 - 0x0392fc00
+ .global NARC_03938000
+NARC_03938000:
+ .incbin "baserom.nds", 0x03938000, 0x03949800 - 0x03938000
+ .global NARC_03949800
+NARC_03949800:
+ .incbin "baserom.nds", 0x03949800, 0x0395b000 - 0x03949800
+ .global NARC_0395b000
+NARC_0395b000:
+ .incbin "baserom.nds", 0x0395b000, 0x03968c00 - 0x0395b000
+ .global NARC_03968c00
+NARC_03968c00:
+ .incbin "baserom.nds", 0x03968c00, 0x03a55ec0 - 0x03968c00
+
diff --git a/asm/unk_339000.s b/asm/unk_339000.s
deleted file mode 100644
index b517c6d2..00000000
--- a/asm/unk_339000.s
+++ /dev/null
@@ -1,2 +0,0 @@
- .text
- .incbin "baserom.nds", 0x339000, 0x371CEC0
diff --git a/ld_script.txt b/ld_script.txt
index 7846a772..4d16054b 100644
--- a/ld_script.txt
+++ b/ld_script.txt
@@ -84,11 +84,11 @@ SECTIONS {
END_SEG(Icon)
. = 0x339000;__romPos = .;
- BEGIN_SEG(Unk339000, 0)
+ BEGIN_SEG(NARC, 0)
{
- build/asm/unk_339000.o(.text);
+ build/asm/narc.o(.text);
}
- END_SEG(Unk339000)
+ END_SEG(NARC)
/DISCARD/ :
{