shape_table: clean up documentation

This commit is contained in:
Vince Weaver 2023-01-19 10:39:28 -05:00
parent 9f2f5df75d
commit cb06209b80
2 changed files with 52 additions and 2 deletions

View File

@ -9,7 +9,7 @@ all: shape_table.dsk
shape_table.dsk: HELLO APPLE.BAS GEAR.BAS \
APPLE2 GEAR LINE32 PATTERN PATTERN_LOGO SQUARE_WAVE \
LINE16 HERRING16 STRIPE17
LINE16 HERRING16 STRIPE17 COOL_WAVE TEETH32 TICK_TOCK
cp $(EMPTYDISK) shape_table.dsk
$(DOS33) -y shape_table.dsk SAVE A HELLO
$(DOS33) -y shape_table.dsk SAVE A GEAR.BAS
@ -23,6 +23,9 @@ shape_table.dsk: HELLO APPLE.BAS GEAR.BAS \
$(DOS33) -y shape_table.dsk BSAVE -a 0xc00 PATTERN
$(DOS33) -y shape_table.dsk BSAVE -a 0x3f5 PATTERN_LOGO
$(DOS33) -y shape_table.dsk BSAVE -a 0xe7 SQUARE_WAVE
$(DOS33) -y shape_table.dsk BSAVE -a 0xe7 COOL_WAVE
$(DOS33) -y shape_table.dsk BSAVE -a 0xe7 TEETH32
$(DOS33) -y shape_table.dsk BSAVE -a 0xe7 TICK_TOCK
###
@ -57,6 +60,34 @@ square_wave.o: square_wave.s
ca65 -o square_wave.o square_wave.s -l square_wave.lst
###
COOL_WAVE: cool_wave.o
ld65 -o COOL_WAVE cool_wave.o -C $(LINKERSCRIPTS)/apple2_e7_zp.inc
cool_wave.o: cool_wave.s
ca65 -o cool_wave.o cool_wave.s -l cool_wave.lst
###
TEETH32: teeth32.o
ld65 -o TEETH32 teeth32.o -C $(LINKERSCRIPTS)/apple2_e7_zp.inc
teeth32.o: teeth32.s
ca65 -o teeth32.o teeth32.s -l teeth32.lst
###
TICK_TOCK: tick_tock.o
ld65 -o TICK_TOCK tick_tock.o -C $(LINKERSCRIPTS)/apple2_e7_zp.inc
tick_tock.o: tick_tock.s
ca65 -o tick_tock.o tick_tock.s -l tick_tock.lst
###
APPLE2: apple2.o
@ -119,4 +150,6 @@ pattern_logo.o: pattern_logo.s
###
clean:
rm -f *~ *.o *.lst HELLO GEAR.BAS GEAR PATTERN APPLE.BAS PATTERN_LOGO
rm -f *~ *.o *.lst HELLO GEAR.BAS GEAR PATTERN APPLE.BAS \
PATTERN_LOGO COOL_WAVE SQUARE_WAVE TEETH32 TICK_TOCK \
HERRING16 STRIPE17 LINE16 LINE32 APPLE2

View File

@ -0,0 +1,17 @@
some small shape table programs
mostly trying to get something interesting in 16 bytes for Lovebyte
apple2 -- 63 bytes -- just prints apple ][
cool_wave -- 37 bytes -- rotating square wave with backgrounds
gear -- 138 bytes -- rotating gears
herring16 -- 16 bytes -- sort of a herringbone pattern
line16 -- 17 bytes -- fancy line pattern
line32 -- 32 bytes -- line pattern, got it down to 18 bytes at one point
pattern -- 32 bytes -- like line32 but stops
pattern_logo -- 125 bytes -- fancy pattern with apple ][ logo on top
square_wave -- 35 bytes -- another square wave w/ backgrounds
stripe17 -- 17 bytes -- simple line drawing
teeth32 -- 31 bytes -- rotating square waves (boring)
tick_tock -- 26 bytes -- gear teeth pattern