summaryrefslogtreecommitdiff
path: root/compare.sh
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-07-22 09:20:33 -0400
committerGitHub <noreply@github.com>2018-07-22 09:20:33 -0400
commita586811e197d2a28d3a08dff03548fb69342da96 (patch)
treed5eec033243b0031afd3a82d47bbe1b7779d1675 /compare.sh
parent5ec276e7c77244befe0b6c9931cda191aa3818b6 (diff)
parent5b4ef99f4bfec7a1cf41cd3eab601d355bb0fadf (diff)
Merge pull request #38 from luckytyphlosion/section-reorg
Add linkerscript to replace completely anonymous sections.
Diffstat (limited to 'compare.sh')
-rw-r--r--compare.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/compare.sh b/compare.sh
new file mode 100644
index 0000000..b52696d
--- /dev/null
+++ b/compare.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+# Compares baserom.gb and pokegold-spaceworld.gb
+
+# create baserom.txt if necessary
+if [ ! -f baserom.txt ]; then
+ hexdump -C baserom.gb > baserom.txt
+fi
+
+hexdump -C pokegold-spaceworld.gb > pokegold-spaceworld.txt
+
+diff -u baserom.txt pokegold-spaceworld.txt | less \ No newline at end of file