mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-28 15:56:51 +00:00
8 lines
311 B
Bash
8 lines
311 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
OBJDUMP="${MIPS_BINUTILS_PREFIX}objdump -D -bbinary -mmips -EB"
|
||
|
OPTIONS="--start-address=$(($1)) --stop-address=$(($1 + $2))"
|
||
|
$OBJDUMP $OPTIONS baserom.z64 > baserom.dump
|
||
|
$OBJDUMP $OPTIONS zelda_ocarina_mq_dbg.z64 > zelda_ocarina_mq_dbg.dump
|
||
|
diff baserom.dump zelda_ocarina_mq_dbg.dump | colordiff
|