View Single Post
Old 28 January 2012, 19:42   #54
Registered User
Join Date: Jan 2012
Location: USA
Posts: 281
Originally Posted by Galahad/FLT View Post
But thats an immediate waste of valuable time when predrawn circles would make the process far quicker.

If you look at the screen, only a few at a time ever get to full size in comparison to how many are on screen.
It's possible I suppose if one sacrifices some accuracy by only holding a subset of all possible circles in chipram. I wonder if it would be noticeable.

Hmm. 512k would hold 128 4k single plane filled circles but most wouldn't even need to be 4k in size.

Yeah, that might work out well. Use the CPU/blitter to precompute all filled circles of diameters say 1 to 128. Determine the memory needed for each one. Create a table of pointers to structures that hold the address of the bitmap and its size with the index to the table being the diameter of the circle. If the size is less than about 10, don't bother with the blitter. Just use the CPU to render.

Okay. I'm convinced.
mc6809e is offline  
Page generated in 0.03942 seconds with 10 queries