pmd-red/asmdiff.sh
Seth Barberee 0271952426 Merge remote-tracking branch 'nullablevoid/master' into master
Port m4a from pokeemerald into pmd-red
2020-10-20 13:08:42 -05:00

8 lines
281 B
Bash
Executable File

#!/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