summaryrefslogtreecommitdiff
path: root/narc/demo/data
diff options
context:
space:
mode:
authormartmists <mail@martmists.com>2020-04-20 00:29:28 +0200
committerGitHub <noreply@github.com>2020-04-20 00:29:28 +0200
commit805f609248867463bce8b37940d2fcc12b5d1702 (patch)
treed76ef7b263db620053fe51bb374b15568e176cf2 /narc/demo/data
parentafef55816689d7fdfbddc8858f15daa5b887234c (diff)
parent776d1ef8924dc9c46574b883b362294d7bb6d94b (diff)
Merge pull request #4 from PikalaxALT/finish_header
Initial dump of filesystem
Diffstat (limited to 'narc/demo/data')
-rw-r--r--narc/demo/data/egg_data.narc.s48
1 files changed, 48 insertions, 0 deletions
diff --git a/narc/demo/data/egg_data.narc.s b/narc/demo/data/egg_data.narc.s
new file mode 100644
index 00000000..741ddec8
--- /dev/null
+++ b/narc/demo/data/egg_data.narc.s
@@ -0,0 +1,48 @@
+ .text
+ ; NARC header
+ .ascii "NARC"
+ .short 0xFFFE ; byte order
+ .short 0x0100 ; version
+ .word 0x00002AFC ; size
+ .short 0x0010 ; chunk size
+ .short 3 ; number following chunks
+
+ ; BTAF header
+ .ascii "BTAF"
+ .word 0x00000064 ; chunk size
+ .short 11 ; number of files
+ .balign 4
+ .word 0x00000000, 0x00001978
+ .word 0x00001978, 0x00001ED8
+ .word 0x00001ED8, 0x00001F4C
+ .word 0x00001F4C, 0x00001FD0
+ .word 0x00001FD0, 0x00002374
+ .word 0x00002374, 0x000023D0
+ .word 0x000023D0, 0x00002464
+ .word 0x00002464, 0x00002770
+ .word 0x00002770, 0x000027EC
+ .word 0x000027EC, 0x00002846
+ .word 0x00002848, 0x00002A70
+
+ ; BTNF header
+ .ascii "BTNF"
+ .word 0x00000010 ; chunk size
+ .word 0x00000004 ; offset to first dir
+ .short 0 ; first file
+ .short 1 ; number of directories
+
+ ; GMIF header
+ .ascii "GMIF"
+ .word 0x00002A78 ; chunk size
+ .incbin "baserom.nds", 0x0, 0x1978
+ .incbin "baserom.nds", 0x1978, 0x560
+ .incbin "baserom.nds", 0x1ED8, 0x74
+ .incbin "baserom.nds", 0x1F4C, 0x84
+ .incbin "baserom.nds", 0x1FD0, 0x3A4
+ .incbin "baserom.nds", 0x2374, 0x5C
+ .incbin "baserom.nds", 0x23D0, 0x94
+ .incbin "baserom.nds", 0x2464, 0x30C
+ .incbin "baserom.nds", 0x2770, 0x7C
+ .incbin "baserom.nds", 0x27EC, 0x5A
+ .incbin "baserom.nds", 0x2848, 0x228
+ .balign 4, 255