diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2019-10-04 16:33:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-04 16:33:09 -0400 |
commit | 712ee66e6154d734ea3960cc14ff1f4c1aaa639e (patch) | |
tree | c1e477bdf115f9191f19eb0cde8d75e1c606ab82 /asmdiff.sh | |
parent | 0cf4c9f25c2fe165c53a0c24f93a31a27ea42d6a (diff) | |
parent | 44b5d84a840c2c88972d72432e85b59cdc472565 (diff) |
Merge pull request #109 from PikalaxALT/wild_pokenmon_area
Wild pokemon area
Diffstat (limited to 'asmdiff.sh')
-rwxr-xr-x | asmdiff.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/asmdiff.sh b/asmdiff.sh new file mode 100755 index 000000000..d4627c007 --- /dev/null +++ b/asmdiff.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.gba > baserom.dump +$OBJDUMP $OPTIONS pokefirered.gba > pokefirered.dump +diff -u baserom.dump pokefirered.dump |