pikmin2/asmdiff.sh
Nerdu 507f5d6e87 Add makefile for elf2dol, Edit asmdiff.sh, Add patch_linker.sh
Elf2dol now compiles when you run make, patch_linker.sh is ran from the makefile to make the needed changes to the 2.7 linker(confirmed to work on Windows, will likely work on Linux as well). asmdiff.sh now points to the correct build version.
2021-10-04 10:10:08 -04:00

7 lines
303 B
Bash

#!/bin/bash
OBJDUMP="$DEVKITPPC/bin/powerpc-eabi-objdump -D -bbinary -EB -mpowerpc -M gekko"
OPTIONS="--start-address=$(($1)) --stop-address=$(($1 + $2))"
$OBJDUMP $OPTIONS baserom.dol > baserom.dump
$OBJDUMP $OPTIONS build/pikmin2.usa/main.dol > main.dump
diff -u --color=always baserom.dump main.dump