[A83] Re: something to talk about


[Prev][Next][Index][Thread]

[A83] Re: something to talk about




Patai Gergely writes:
> I would never scroll by redrawing the whole screen... A collective
> binary
> shift is obviously much faster than drawing lots of clipped unaligned
> sprites. Smooth scrolling can be done at a rate of 60-80 fps, that
> leaves
> quite much time for other things as well - going above 15 fps doesn't
> really make sense on a slow LCD display.

Actually, the fastest way to scroll is to redraw the entire screen at once
using shift tables.  This is what Crashman's scrolling routine does.  He
measured his routine to get 106.2 FPS.  It is that fast because it combines
the drawing with the display refresh (actually my idea :)  I said, instead
of wasting cycles waiting for the display controller, why not use the time
to draw the map?  And he managed to make it work.  It is amazingly fast.  I
think that the original idea for redrawing the entire map each frame came
from Kirk Meyer.  He wrote an amazing (unfinished) Commander Keen game for
the 86.

--
David Phillips <david@acz.org>
http://david.acz.org/




References: