You don't want to use putpixel because you're doing things one at a time. To optimize things, you want to do as much stuff in bigger blocks as possible. For example, instead of moving pixels, try moving entire lines. Another possibility is to use the hardware to your advantage. The VGA card has scrolling built-in. If you want to use this method, then you will need to look at any of the graphics book by Michael Abrash e.g. _Zen Of Graphics Programming_.
Main Topics
Browse All Topics





by: jabaPosted on 1997-09-22 at 05:14:40ID: 1255027
Did you try to move contents of the vido memory ? Its more fast method.