Compare commits

...

1 commit

Author SHA1 Message Date
Jeff Epler
313ad5f250 Makefile: build loadable character sets, d64 image 2017-07-17 13:54:30 -05:00
2 changed files with 23 additions and 1 deletions

View file

@ -1,10 +1,30 @@
.PHONY: all .PHONY: all
all: 80columns-compressed.prg 80c2-compressed.prg 80c3-compressed.prg 80c4-compressed.prg all: 80columns-compressed.prg 80c2-compressed.prg 80c3-compressed.prg 80c4-compressed.prg
all: charset.prg charset2.prg charset3.prg charset4.prg
all: 80columns.d64
80columns.d64: 80columns-compressed.prg charset.prg charset2.prg charset3.prg charset4.prg
rm -f $@
c1541 -format 80columns,80 d64 80columns.d64.tmp
for i in $^; do \
c1541 -attach 80columns.d64.tmp -write $$i $${i%[-.]*}; \
done
mv -f 80columns.d64.tmp 80columns.d64
.INTERMEDIATE: charset.bin .INTERMEDIATE: charset.bin
charset.prg: charset.bin
(printf '\0\320'; cat $<) > $@.tmp
exomizer sfx 51200 -q -n -o $@ $@.tmp
rm -f $@.tmp
charset.bin: charset.o charset.cfg charset.bin: charset.o charset.cfg
ld65 -C charset.cfg $< -o $@ ld65 -C charset.cfg $< -o $@
charset%.prg: charset%.bin
(printf '\0\320'; cat $<) > $@.tmp
exomizer sfx 51200 -q -n -o $@ $@.tmp
rm -f $@.tmp
charset%.bin: charset%.o charset.cfg charset%.bin: charset%.o charset.cfg
ld65 -C charset.cfg $< -o $@ ld65 -C charset.cfg $< -o $@
@ -37,4 +57,4 @@ update-font-images: charset.bin charset2.bin charset3.bin charset4.bin mkfontimg
.PHONY: clean .PHONY: clean
clean: clean:
rm -f *.prg *.bin *.o rm -f *.prg *.bin *.o 80columns.d64

View file

@ -19,6 +19,8 @@ Building requires a UNIX environment and [cc65](https://github.com/cc65/cc65) an
The source contains four character sets (`charset.s`, `charset2.s` etc.) from different 80 column software solutions, which can be selected by changing the reference to the filename in the `Makefile`. The source contains four character sets (`charset.s`, `charset2.s` etc.) from different 80 column software solutions, which can be selected by changing the reference to the filename in the `Makefile`.
You can also `LOAD`/`RUN` a new exomizer-compressed character set into memory, though this destroys the currently-loaded BASIC program.
### charset.s: 80COLUMNS ### charset.s: 80COLUMNS
![](img/g1.png) ![](img/t1.png) ### charset2.s: COLOR 80 by Richvale Telecommunications ![](img/g2.png) ![](img/t2.png) ### charset3.s: Highspeed80 by CKtwo ![](img/g3.png) ![](img/t3.png) ### charset4.s: SCREEN-80 by Computes Gazette ![](img/g4.png) ![](img/t4.png) ![](img/g1.png) ![](img/t1.png) ### charset2.s: COLOR 80 by Richvale Telecommunications ![](img/g2.png) ![](img/t2.png) ### charset3.s: Highspeed80 by CKtwo ![](img/g3.png) ![](img/t3.png) ### charset4.s: SCREEN-80 by Computes Gazette ![](img/g4.png) ![](img/t4.png)