From 3a8dec1cf15e437285dd3f4c8894449e588972d0 Mon Sep 17 00:00:00 2001 From: Andrew Gillham Date: Wed, 31 May 2023 17:34:41 -0500 Subject: [PATCH 1/3] Include background_tasks.asm via lowercase filename for case senstive file-systems. --- game1.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game1.asm b/game1.asm index 941d34a..74b4aef 100644 --- a/game1.asm +++ b/game1.asm @@ -4053,7 +4053,7 @@ LEVEL_MUSIC: !BYTE 1,0,2,3,0,1,2,3,0,1,2,3,0,1,2 ; ADDED NEW MUSIC FOR C128 L ;SPRITES ARE FULLY VISIBLE STARTING AT X=24 Y=50 -!SOURCE "BACKGROUND_TASKS.ASM" +!SOURCE "background_tasks.asm" !IF VIC_CHARMAP { From b77e683614a73170eb3f7e4ef6898653af2bc0c9 Mon Sep 17 00:00:00 2001 From: Andrew Gillham Date: Wed, 31 May 2023 17:35:40 -0500 Subject: [PATCH 2/3] Add a Makefile and a checksum.sh script to compare built binaries against the official distribution. --- .gitignore | 11 +++++++++++ Makefile | 31 +++++++++++++++++++++++++++++++ checksum.sh | 21 +++++++++++++++++++++ original/checksums.txt | 26 ++++++++++++++++++++++++++ 4 files changed, 89 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100755 checksum.sh create mode 100644 original/checksums.txt diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8af7cf7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ +*.sym + +boot-128 +common-128 +faces-128 +game0-128 +game1-128 +graphics-128 +intro-128 +loader-128 +sprites-128 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..00d3284 --- /dev/null +++ b/Makefile @@ -0,0 +1,31 @@ +ACME=acme + +PROGS = boot-128 common-128 sprites-128 + +all: $(PROGS) + +boot-128: boot.asm + $(ACME) $< + +common-128: common.asm + $(ACME) $< + +sprites-128: sprites.asm + $(ACME) $< + +boot.asm: loader.sym +common.asm: faces.sym game0.sym game1.sym +game0.asm: graphics.sym +loader.sym: intro.sym loader.asm + +%.sym: %.asm + $(ACME) $< || rm $@ + +clean: + rm -f *.sym boot-128 common-128 faces-128 game0-128 game1-128 \ + graphics-128 intro-128 loader-128 sprites-128 + +check: all + @echo "Verifying checksums....(you should look for errors below)" + @./checksum.sh + diff --git a/checksum.sh b/checksum.sh new file mode 100755 index 0000000..31eaf0d --- /dev/null +++ b/checksum.sh @@ -0,0 +1,21 @@ +#!/bin/sh +# +LIST=$(ls *-128) + +status=0 + +for f in $LIST +do + NEWSUM=$(md5sum $f) + OLDSUM=$(grep " ${f}\$" original/checksums.txt) + if [ "$NEWSUM" != "$OLDSUM" ]; then + echo ERROR: $f MISMATCH: + echo NEWSUM=$NEWSUM + echo OLDSUM=$OLDSUM + status=1 + fi +done +if [ "$status" = "0" ]; then + echo "All file checksums match the original distribution." +fi +exit $status diff --git a/original/checksums.txt b/original/checksums.txt new file mode 100644 index 0000000..e7651c5 --- /dev/null +++ b/original/checksums.txt @@ -0,0 +1,26 @@ +0ddd3ca7a895819a837fe9bab4637025 game1-128 +19821f642d2d96bb8d63174a35226058 sprites-128 +26468796a18af25cea430d2d1d838f1f faces-128 +34e482764e1beabfd6d7eff53dc5b817 level-c-128 +368f2d969a5df32a811ea7348a6a126d level-i-128 +3b6404b2a41930b4e60caf26c8ceec0c loader-128 +3dbe76523b9ec881ded442a87ad77a97 level-g-128 +455a8a0bceb7fa844227c11c54b6c6c8 level-l-128 +4746fb317b481daa933eb2c4f0b579fb tileset-128 +4eddd10ada7292e77f2017fb8b76f57b level-m-128 +551a7811c1d9104a3cef28b1c211582d game0-128 +670473b3aacb131dd6dca6fa21e80b9d level-j-128 +68ac6515aed51d9dc6c8ea1ea86600ce level-e-128 +750c1d06979698ab0a84216d0081d87b level-o-128 +83751746d299c5c85433d839fd0c5611 level-a-128 +8424c68cec9905d31045e6efb651de25 level-b-128 +970df4641d857711254bdebadf0ec206 level-h-128 +98e2b6e351e961d975e612125f881e72 level-d-128 +9b1d71fecfefba91ff2c1082a0fbd507 graphics-128 +bc12977aef2054223b9327f97d0cd999 intro-128 +bc8a90c3373e7b3d88fa7eae035fe3ac level-k-128 +c5b9a22d05200280a34b47a63dca3215 level-f-128 +c5fafa27390edc2a46b60ba79ba6c1e5 common-128 +dd2f3fac23597e5f15337912faa256d6 boot-128 +efc697acf6970db9f9dbd770c8e74cfc level-n-128 +f7229086fe4502e09352b8797827606f music-128 From b428d4c23fedd4bf27cc6ea282e8ebf3b7269be1 Mon Sep 17 00:00:00 2001 From: Andrew Gillham Date: Wed, 31 May 2023 17:36:18 -0500 Subject: [PATCH 3/3] Revert level-o-128 to match the official distribution file. (4 byte difference) --- level-o-128 | Bin 8962 -> 8962 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/level-o-128 b/level-o-128 index c50b78c3a4d6891183f79f2aadefa6b4109320cb..099809f3a2b79337b2fd8e9093ae21857158aa86 100644 GIT binary patch delta 59 zcmZp2YjWFA!N|(M$iT=r`5~hj8;}8nn|Cs9=4BMvoXa1|$}7Oix_P7UMKCx&`J%Az JW*O0Eya3qq6Dt4! delta 59 zcmZp2YjWFA!N|(U$iT=r`5~hj8;}8HZr;hbnU|4wb1r`*kHZ7s25C