Brion Vibber
5637783529
Improves runtime from 16.24 ms/px to 14.44 ms/px This uses a routine found on Everything2: https://everything2.com/title/Fast+6502+multiplication which uses a lookup table of squares to do 8-bit imuls, which are then composed into a 16-bit imul
18 lines
232 B
Makefile
18 lines
232 B
Makefile
.PHONY : clean all
|
|
|
|
all : mandel.xex
|
|
|
|
mandel.xex : mandel.o tables.o
|
|
ld65 -C ./atari-asm-xex.cfg -o $@ $+
|
|
|
|
%.o : %.s
|
|
ca65 -o $@ $<
|
|
|
|
tables.s : tables.js
|
|
node tables.js > tables.s
|
|
|
|
clean :
|
|
rm -f tables.s
|
|
rm -f *.o
|
|
rm -f *.xex
|
|
|