pokeemerald/asmdiff.sh

8 lines
293 B
Bash
Raw Normal View History

2017-10-01 22:05:00 +02:00
#!/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 pokeemerald.gba > pokeemerald.dump
2019-03-24 22:32:59 +01:00
diff -u baserom.dump pokeemerald.dump