commit 7612f86a3c257c890d23a2eb835f6b0e9b20d85d parent d8130f610b958d4c79544bcf9408ceda307b625f Author: Brian Swetland <swetland@frotz.net> Date: Thu, 18 Aug 2022 22:50:02 -0700 build system add a makefile and a copy of the original rom to verify against Diffstat:
A | Makefile | | | 19 | +++++++++++++++++++ |
A | golden.zx81.rom | | | 0 |
2 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -0,0 +1,19 @@ + +all: check + +check:: zx81plus.hex golden.zx81.hex + @diff zx81plus.hex golden.zx81.hex + @echo SUCCESS - identical to original rom + +zx81plus.rom: zx81plus.asm + z80asm --list=zx81plus.lst --label=zx81plus.xref --output=zx81plus.rom -v zx81plus.asm + +zx81plus.hex: zx81plus.rom + xxd -g1 zx81plus.rom > zx81plus.hex + +golden.zx81.hex: golden.zx81.rom + xxd -g1 golden.zx81.rom > golden.zx81.hex + +clean: + rm -f zx81plus.rom zx81plus.hex zx81plus.lst zx81plus.xref + rm -f golden.zx81.hex diff --git a/golden.zx81.rom b/golden.zx81.rom Binary files differ.