Created
April 21, 2017 01:40
-
-
Save camthesaxman/68cec41b1e8ca13dfbed3eb2eec39bc9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 pokeruby.gba > pokeruby.dump | |
diff baserom.dump pokeruby.dump |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment