2022-04-10 00:17:06 +00:00
|
|
|
#!/bin/bash -e
|
2022-03-23 21:22:48 +00:00
|
|
|
OBJDUMP="$DEVKITPPC/bin/powerpc-eabi-objdump -D -bbinary -EB -mpowerpc -M gekko"
|
2022-07-18 13:51:34 +00:00
|
|
|
if [ ! -z "$1" ]; then
|
2022-07-19 00:30:39 +00:00
|
|
|
OPTIONS="--start-address=$(($1)) --stop-address=$(($2))"
|
2022-07-18 13:51:34 +00:00
|
|
|
fi
|
2022-03-23 21:22:48 +00:00
|
|
|
$OBJDUMP $OPTIONS baserom.dol > baserom.dump
|
|
|
|
$OBJDUMP $OPTIONS build/mp1.0/main.dol > main.dump
|
|
|
|
diff -u --color=always baserom.dump main.dump
|