summaryrefslogtreecommitdiff
path: root/asmdiff_de_debug.sh
diff options
context:
space:
mode:
authorCameron Hall <camthesaxman@users.noreply.github.com>2018-02-06 19:45:56 -0600
committerGitHub <noreply@github.com>2018-02-06 19:45:56 -0600
commitc79d259508d47a8b5bde5b9060b8fe8c6989bd44 (patch)
tree912c739848391da17525e57420570b3730053675 /asmdiff_de_debug.sh
parent5969695b8bbdab5182d0d651bbd2d256a12c0404 (diff)
parent9a8ec555e68fb143ffe900c778ddb85d5bd145a5 (diff)
Merge pull request #541 from camthesaxman/german_debug
build German debug version
Diffstat (limited to 'asmdiff_de_debug.sh')
-rwxr-xr-xasmdiff_de_debug.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/asmdiff_de_debug.sh b/asmdiff_de_debug.sh
new file mode 100755
index 000000000..837b88cd2
--- /dev/null
+++ b/asmdiff_de_debug.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_debug.gba > baserom_de_debug.dump
+$OBJDUMP $OPTIONS pokeruby_de_debug.gba > pokeruby_de_debug.dump
+diff baserom_de_debug.dump pokeruby_de_debug.dump