Mother2GbaTranslation/insert.bat

20 lines
502 B
Batchfile
Raw Normal View History

@echo off
echo Copying fresh ROM...
2015-03-13 23:07:03 +00:00
copy /Y m12fresh.gba m12.gba
:: Compile all C and ASM code
echo Compiling and assembling...
pushd compiled
Amalgamator\Amalgamator\bin\Debug\Amalgamator.exe -r m12.gba -c 0x8100000 -d "../" -i vwf.c ext.c
popd
if errorlevel 1 (pause && goto :eof)
:: Assemble includes
echo Assembling includes...
2015-03-16 04:16:28 +00:00
pushd working
2017-03-29 05:19:51 +01:00
..\armips.exe m12-includes.asm
2015-03-16 04:16:28 +00:00
popd
2017-03-29 05:19:51 +01:00
SymbolTableBuilder\SymbolTableBuilder\bin\Debug\symbols.exe m12.sym m12-symbols.sym armips-symbols.sym
echo Success!