diff options
author | nullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com> | 2018-10-16 17:11:54 +0800 |
---|---|---|
committer | void <30564701+nullableVoidPtr@users.noreply.github.com> | 2018-11-18 18:29:52 +0800 |
commit | 9e5147a9adf9dc0aba908f38637cd0b4da2cbbcc (patch) | |
tree | 4c6d69c6023e4bb9adb728b75b59f24cd5801002 /asmdiff.sh | |
parent | 97ab00ba2189c4d8b483ddcad3fc7cf97386122b (diff) |
Makefile overhaul
Addition of a build directory, and more flexible to allow for possible blue build.
Diffstat (limited to 'asmdiff.sh')
-rw-r--r-- | asmdiff.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/asmdiff.sh b/asmdiff.sh new file mode 100644 index 0000000..a4afe79 --- /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 pmd_red.gba > pmd_red.dump +diff -u baserom.dump pmd_red.dump | less
\ No newline at end of file |