forked from DizzyEggg/pokeemerald
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Round 3] Apply all source related changes for the new INSTALL.md in …
…one commit.
- Loading branch information
1 parent
5a5acfb
commit 3d68611
Showing
17 changed files
with
210 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
#!/bin/bash | ||
|
||
OBJDUMP="$DEVKITARM/bin/arm-none-eabi-objdump -D -bbinary -marmv4t -Mforce-thumb" | ||
if [[ -d "$DEVKITARM/bin/" ]]; then | ||
OBJDUMP_BIN="$DEVKITARM/bin/arm-none-eabi-objdump" | ||
else | ||
OBJDUMP_BIN="arm-none-eabi-objdump" | ||
fi | ||
|
||
OBJDUMP="$OBJDUMP_BIN -D -bbinary -marmv4t -Mforce-thumb" | ||
|
||
if [ $(($1)) -ge $((0x8000000)) ]; then | ||
OPTIONS="--adjust-vma=0x8000000 --start-address=$(($1)) --stop-address=$(($1 + $2))" | ||
else | ||
OPTIONS="--start-address=$(($1)) --stop-address=$(($1 + $2))" | ||
fi | ||
|
||
$OBJDUMP $OPTIONS baserom.gba > baserom.dump | ||
$OBJDUMP $OPTIONS pokeemerald.gba > pokeemerald.dump | ||
diff -u baserom.dump pokeemerald.dump |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.