Merge pull request #438 from s4Ys369/revert-434-patch-1
[sm64pc.git] / asmdiff.jp.sh
blob1f86c753479a833bff2573bf55072568cc8f80d0
1 #!/bin/bash
3 OBJDUMP="mips-linux-gnu-objdump -D -z -bbinary -mmips -EB"
4 OPTIONS="--start-address=$(($1)) --stop-address=$(($2))"
5 $OBJDUMP $OPTIONS baserom.jp.z64 > baserom.jp.dump
6 $OBJDUMP $OPTIONS build/jp/sm64.jp.z64 > sm64.jp.dump
7 diff baserom.jp.dump sm64.jp.dump | colordiff