mirror of
https://github.com/SAT-R/sa2.git
synced 2026-10-28 18:02:16 +00:00
reference chao garden from repo
This commit is contained in:
1 parent
5a4314cfc0
commit
6d73ffb334
9 files changed
+1616
-1598
No files matched your search
@@ -65,3 +65,4 @@ sound/songs/midi/*.s
|
||||
reports
|
||||
.vscode/*.log
|
||||
*.gbapal
|
||||
*.lz
|
||||
@@ -118,7 +118,7 @@ compare: $(ROM)
|
||||
$(SHA1) checksum.sha1
|
||||
|
||||
clean: tidy
|
||||
$(RM) $(SAMPLE_SUBDIR)/*.bin $(MID_SUBDIR)/*.s
|
||||
$(RM) $(SAMPLE_SUBDIR)/*.bin $(MID_SUBDIR)/*.s chao_garden/*.lz
|
||||
|
||||
tidy:
|
||||
rm -f $(ROM) $(ELF) $(MAP)
|
||||
@@ -140,7 +140,10 @@ include songs.mk
|
||||
%.gbapal: %.png ; $(GFX) $< $@
|
||||
%.lz: % ; $(GFX) $< $@
|
||||
%.rl: % ; $(GFX) $< $@
|
||||
|
||||
sound/%.bin: sound/%.aif ; $(AIF) $< $@
|
||||
chao_garden/mb_chao_garden.gba.lz: chao_garden/mb_chao_garden.gba
|
||||
$(GFX) $< $@ -search 1
|
||||
|
||||
$(ELF): $(OBJS) $(LDSCRIPT)
|
||||
@echo "$(LD) -T $(LD_SCRIPT) -Map $(MAP) <objects> <lib>"
|
||||
@@ -169,6 +172,9 @@ $(DATA_ASM_BUILDDIR)/%.o: $(DATA_ASM_SUBDIR)/%.s
|
||||
@echo "$(AS) <flags> -o $@ $<"
|
||||
@$(AS) $(ASFLAGS) -o $@ $<
|
||||
|
||||
# TODO: use `scaninc`
|
||||
# Tell make that sound_data.s depends
|
||||
# on all the .bin files in `direct_sound_samples`
|
||||
data/sound_data.s: $(shell find $(SAMPLE_SUBDIR) -type f -iname '*.aif' | sed 's/\(.*\.\)aif/\1bin/')
|
||||
|
||||
data/multiboot_chao_garden.s: chao_garden/mb_chao_garden.gba.lz
|
||||
@@ -0,0 +1,7 @@
|
||||
# Tiny Chao Garden
|
||||
|
||||
This will be the package to contain the source code for
|
||||
`mb_chao_garden.gba`
|
||||
|
||||
It's likely this program is the same for all other games
|
||||
in the advance trilogy, but it will be decompiled here for now
|
||||
File renamed without changes.
-1596
File diff suppressed because it is too large.
Load diff
+1593
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,5 @@
|
||||
.section .rodata
|
||||
|
||||
.global gUnknown_080AED70
|
||||
gUnknown_080AED70:
|
||||
.incbin "chao_garden/mb_chao_garden.gba.lz"
|
||||
@@ -72,6 +72,8 @@ SECTIONS
|
||||
build/sa2/src/sio32_multi_load.o(.rodata);
|
||||
build/sa2/src/main.o(.rodata);
|
||||
build/sa2/data/data1.o(.rodata);
|
||||
build/sa2/data/multiboot_chao_garden.o(.rodata);
|
||||
build/sa2/data/data1_1.o(.rodata);
|
||||
build/sa2/src/title_screen.o(.rodata);
|
||||
build/sa2/data/data2.o(.rodata);
|
||||
build/sa2/src/m4a_tables.o(.rodata);
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ struct UNK_3005B80 gUnknown_03005B80;
|
||||
extern const u8* const gUnknown_08C87AAC[4]; /* size 0x95C */
|
||||
extern const u16 gUnknown_08097AA4[0xA00 / 2];
|
||||
|
||||
// 155KB ?? maybe the whole of tiny chao garden
|
||||
// Tiny Chao Garden program
|
||||
extern const u8 gUnknown_080AED70[0x25E8C];
|
||||
|
||||
const struct UNK_080E0D64 gUnknown_080E0D64[] =
|
||||
|
||||
Reference in new issue
Block a user