mirror of
https://github.com/pret/pmd-red.git
synced 2024-11-23 21:19:53 +00:00
8 lines
281 B
Bash
8 lines
281 B
Bash
#!/bin/bash
|
|
|
|
OBJDUMP="$DEVKITARM/bin/arm-none-eabi-objdump -D -bbinary -marmv4t -Mforce-thumb"
|
|
OPTIONS="--start-address=$(($1)) --stop-address=$(($1 + $2))"
|
|
$OBJDUMP $OPTIONS baserom.gba > baserom.dump
|
|
$OBJDUMP $OPTIONS pmd_red.gba > pmd_red.dump
|
|
diff -u baserom.dump pmd_red.dump
|