Mail Archives: djgpp/1998/06/09/16:30:28
Hi,
I need to scroll around a virtual screen. I am using Allegro's
scroll_screen() fxn and it works perfect when scrolling vertically. When
scrolling horizontally, it is very jumpy and redraws incorrect parts of the
image. Does Allegro's scroll_screen not use the pixel-panning register for
planar modes? If not, is there an easy way to get this to work with djgpp?
I am in a 640 X 480 graphics mode using at least a 1024 X 1024 virtual
screen. Is there a good 256-color mode with similar screen dimensions and
stability, BTW?
If scrolling horizontally is a problem, would it be easier to draw all
graphics to a 1024 X 1024 buffer (1,048,576 bytes for a 256-color
mode--kinda large) and then blit the active section to the screen? What
would be a good way to do this?
Thanks,
Johnny P.
- Raw text -