pokeruby/asmdiff.sh
PikalaxALT 61c433d5c3
Revert migration to colordiff in asmdiff.sh
`colordiff` breaks output piping and invokes an additional dependency that no one needs
2019-07-29 10:58:07 -04:00

8 lines
284 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 pokeruby.gba > pokeruby.dump
diff -u baserom.dump pokeruby.dump