Not going to lie. I really didn't understand the algorithm this was coding and optimizing. depending on the bit depth you basically do a 1-d bressenham mapping x pixels into y pixels and the same for the y direction either duplicating scaled lines or dropping lines in the source image.
That's a great example! 10 sec per frame down to 5 FPS. Unusable to usable!
I love the 1mhz Apple 2 because just about anything becomes usable this way.
And one running at 16Mhz is crazy! That same image routine can go a few times faster, limited in the end by the 1Mhz bus on the way to the graphics screen.
There are times when I wish the Apple ended up with a video card standard. That would have ended up PC like and may well have brought the higher speeds to more software more generally.
I love the 1mhz Apple 2 because just about anything becomes usable this way.
And one running at 16Mhz is crazy! That same image routine can go a few times faster, limited in the end by the 1Mhz bus on the way to the graphics screen.
There are times when I wish the Apple ended up with a video card standard. That would have ended up PC like and may well have brought the higher speeds to more software more generally.