2022-04-10 00:17:06 +00:00
|
|
|
#!/bin/bash -e
|
2022-08-23 03:54:30 +00:00
|
|
|
VERSION="${VERSION:=0}"
|
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-08-23 03:54:30 +00:00
|
|
|
$OBJDUMP $OPTIONS versions/$VERSION/baserom.dol > baserom.dump
|
|
|
|
$OBJDUMP $OPTIONS build/mp1.$VERSION/main.dol > main.dump
|
2022-03-23 21:22:48 +00:00
|
|
|
diff -u --color=always baserom.dump main.dump
|