From 85c12e5344c3ba60131bb1f7d59bfea7e178d6e5 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sun, 9 May 2021 14:55:49 -0700 Subject: Add a few more binaries to play with. --- Makefile | 5 ++++- mem/binldr.rim | Bin 0 -> 673 bytes mem/focal69.bin | Bin 0 -> 6757 bytes 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 mem/binldr.rim create mode 100644 mem/focal69.bin diff --git a/Makefile b/Makefile index e180bc1..68ae4d1 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ SOURCES := $(shell find hdl sim -name \*.sv -o -name \*.cpp) HEADERS := $(shell find hdl -name \*.svh) -MEMORIES := $(shell find mem -name \*.hex) $(addprefix build/, $(addsuffix .hex, $(basename $(shell find mem -name \*.pal)))) +MEMORIES := $(shell find mem -name \*.hex) $(addprefix build/, $(addsuffix .hex, $(basename $(shell find mem -name \*.bin -o -name \*.pal)))) QUARTUS := $(shell find altera tcl -name \*.cdf -o -name \*.sdc -o -name \*.tcl) OPTS ?= @@ -16,6 +16,9 @@ build/p8bin2hex: tool/p8bin2hex.c build/%.hex: build/%.bin build/p8bin2hex build/p8bin2hex $< > $@ +build/%.hex: %.bin build/p8bin2hex + build/p8bin2hex $< > $@ + build/%.bin: %.pal @mkdir -p $(dir $@) palbart $< diff --git a/mem/binldr.rim b/mem/binldr.rim new file mode 100644 index 0000000..0edf2be Binary files /dev/null and b/mem/binldr.rim differ diff --git a/mem/focal69.bin b/mem/focal69.bin new file mode 100644 index 0000000..aa40ce1 Binary files /dev/null and b/mem/focal69.bin differ -- cgit v1.2.3