dos33fsprogs/graphics/hgr/shape_table/README
2023-01-28 19:24:17 -05:00

41 lines
1.4 KiB
Plaintext

some small shape table programs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It's hard to get below 17 bytes.
Found a way to get 15 bytes in some cases if the address or rotation
(mod64) are similar.
Various that are here:
E7=$20 A=$02 Y=$E8 X=$0E (agony17) LB23 maybe
E7=$20 A=$E2 Y=$E2 X=$E2 (weave15) LB23
E7=$20 A=$02 Y=$E3 X=$01 (columns16)
E7=$20 A=$02 Y=$00 X=$21 (cats16)
E7=$?? A=$01 ----------- (herring16)
E7=$20 A=$01 Y=$E8 X=$0E (stripe17)
E7=$20 A=$02 Y=$DA X=$01 (eggs16)
E7=$20 A=$F3 Y=$F3 X=$F2 (wavy16)
E7=$20 A=$F6 Y=$F6 X=$F6 (mirror15)
E7=$20 A=$F6 Y=$F6 X=$F5 (field16) LB23 maybe
E7=$20 A=$05 Y=$F0 X=$00 (wave16) LB22
E7=$20 A=$E7 Y=$E7 X=$E7 (diamond16) LB22
TODO
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