diff options
author | scnorton <scnorton@biociphers.org> | 2017-12-18 11:27:43 -0500 |
---|---|---|
committer | scnorton <scnorton@biociphers.org> | 2017-12-18 11:27:43 -0500 |
commit | 3ef90edf47f9a89b05a3e8a0a7d02b38d2691a58 (patch) | |
tree | 67d3cff4aad5b4d59e5c7a4c9057688a728a13ef /asmdiff_de.sh | |
parent | 466031e365a961c9138d972a524db916570db6b3 (diff) |
Add some potentially useful scripts
de_before.sh: Set up the environment to build German Ruby. WARNING: Do not commit in this state unless you know what you are doing.
de_after.sh: Revert the German build environment to the English (default) environment. After executing this script, it will be safe to commit changes. WARNING: This discards any changes to asm/, data/, and graphics/.
asmdiff_de.sh: Like asmdiff.sh but for the German build environment. Requires baserom_de.gba with SHA1 sum = 1c2a53332382e14dab8815e3a6dd81ad89534050.
build_tools_mac.sh: Like build_tools.sh but for OS X environments experiencing problems with Homebrew's g++.
clean_tools.sh: Use this to clean the tools directories if you want to cross-compile or recompile. Does not touch agbcc.
Diffstat (limited to 'asmdiff_de.sh')
-rwxr-xr-x | asmdiff_de.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/asmdiff_de.sh b/asmdiff_de.sh new file mode 100755 index 000000000..aa42daa5e --- /dev/null +++ b/asmdiff_de.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +OBJDUMP="$DEVKITARM/bin/arm-none-eabi-objdump -D -bbinary -marmv4t -Mforce-thumb" +OPTIONS="--start-address=$(($1)) --stop-address=$(($1 + $2))" +$OBJDUMP $OPTIONS baserom_de.gba > baserom_de.dump +$OBJDUMP $OPTIONS pokeruby_de.gba > pokeruby_de.dump +diff baserom_de.dump pokeruby_de.dump |