dos33fsprogs/graphics/gr/thinking
2021-07-09 00:33:28 -04:00
..
combo.s gr: thinking: might as well license the other files as well 2021-07-03 19:03:52 -04:00
cracking_bot.s graphics: gr: thinking: update documentation 2021-07-03 00:28:17 -04:00
cracking.s gr: thinking: cracking, clarify license 2021-07-03 18:50:38 -04:00
cracking.woz gr: thinking: add woz file 2021-07-03 17:14:39 -04:00
hardware.inc gr: thinking: stuck on those last bytes 2021-07-01 17:21:19 -04:00
hello.bas gr: thinking 2021-07-01 13:41:26 -04:00
Makefile thinking: fix disk image size so will work with cffa3k 2021-07-09 00:33:28 -04:00
rainbow_box.s gr: thinking 2021-07-01 13:41:26 -04:00
README graphics: gr: thinking: update documentation 2021-07-03 00:28:17 -04:00
t2.s gr: thinking: too hard 2021-07-02 00:15:50 -04:00
t3.s graphics: gr: thinking: update documentation 2021-07-03 00:28:17 -04:00
thinking_attempt2.s gr: thinking: stuck on those last bytes 2021-07-01 17:21:19 -04:00
thinking_attempt3.s gr: thinking: stuck on those last bytes 2021-07-01 17:21:19 -04:00
thinking_attempt4.s gr: thinking: stuck on those last bytes 2021-07-01 17:21:19 -04:00
thinking_attempt5.s gr: thinking: too hard 2021-07-02 00:15:50 -04:00
thinking_attempt6.s gr: thinking: too hard 2021-07-02 00:15:50 -04:00
thinking_bot.s gr: thinking: trying to get fully working 2021-07-03 12:07:54 -04:00
thinking_boxes.s gr: thinking: too hard 2021-07-02 00:15:50 -04:00
thinking_flip.s graphics: gr: thinking: update documentation 2021-07-03 00:28:17 -04:00
thinking_slow.s graphics: gr: thinking: update documentation 2021-07-03 00:28:17 -04:00
thinking.s gr: thinking: might as well license the other files as well 2021-07-03 19:03:52 -04:00
zp.inc gr: thinking: stuck on those last bytes 2021-07-01 17:21:19 -04:00

Re-implementation of the Print Shop "Thinking / Printing" animated banner.

Was struggling to get this to fit in 141 bytes for the Apple II Basic Bot.
Managed in the end to get a version that had animated bars instead of boxes.


****************
"Proper" Version
****************

	See the thinking_flip.s / THINKING_FLIP code.

	This draws offscreen.  First the boxes, cascading inward,
	(using direct RAM writes to draw the boxes).
	A separate loop then overwrites with the bitmap.
	Page flipping is used, so it alternates PAGE1/PAGE2.

	The code is callable as a function so you can add hooks into
	it from existing code as a progress indicator.

	Downsides: lots of over-writing (speed), also you need to
	have the 1k of RAM at $800 free for PAGE2 use.

	Total size approaches 256 bytes

**************
Other attempts
**************

Various other attempts tried:

+ Drawing the boxes using Applesoft/Monitor ROM routines for a box
	(4 sides), then drawing the bitmap on top.
	This is too slow and makes flicker, also the code is large.
	(some preliminary attempt to this is in THINKING_ATTEMPT4)

+ Drawing the boxes using HLINE instead of direct mem writes.
	Slower, so very noticable that you're drawing things.
	Still couldn't get below 153 bytes.
	See thinking_slow.s / THINKING_SLOW

+ Using box drawing code from my various box-drawing demos.
	This ends up being too large

+ RLE encoding the image.  Too big

+ Looking for the color progression in ROM (Didn't have to be exact,
	just low bytes the same).  Sadly not there

+ Drawing the boxes/text offscreen and basically do a palette-shifting
	type thing.  This is possible (though tricky as there are 10
	boxes but only 8 colors so it's not a straight up palette shift).
	This has the same limitations that page-flipping does in that
	you need an offscreen area.
	See t3.s / T3 for implementation.  Still large (192 bytes)

+ BOT version
	Fits in 141 bytes.

	See thinking_bot.s THINKING_BOT
	Only draws lines that rotate, not boxes.
	Draws bitmap at same time as drawing lines, meaning there is no
	overdraw so no flicker.