c64 autoload viewer

This commit is contained in:
Thomas Bernard
2019-10-22 23:59:06 +02:00
parent a8e0beba6d
commit 796db2003d
4 changed files with 308 additions and 0 deletions

13
misc/c64viewer/Makefile Normal file
View File

@@ -0,0 +1,13 @@
AS=ophis
ASFLAGS=-l $*.lst -m $*.map
all: picview.prg final.prg c64picview_inc.h
%.prg: %.asm
$(AS) $(ASFLAGS) -o $@ $<
final.prg: picview.prg 30.bin 20.bin screen.bin 10.bin bitmap.bin 30.bin color.bin 42.bin 10.bin 00.bin
cat $+ > $@
c64picview_inc.h: picview.prg
xxd -i $< | sed 's/^unsigned char/static unsigned char/'| sed '$$ d' > $@