Smooth scrolling in the modern world?

In the old days of mode-x, if one wanted to do a smooth-scrolling tile-based
game, one would define a chunk of video memory larger than the actual video
mode, draw to that, and then scroll around within it, only actually
redrawing the edges when needed. This was very nice and fast and looked
great.

Is there any way to do the equivalent in modern hardware, short of the
openGL route? I’m thinking of the way XFree86 lets you scroll around with
a virtual screen resolution – is there any way to make use of this?–
Matthew Miller @Matthew_Miller http://www.mattdm.org/
Boston University Linux ------> http://linux.bu.edu/

It should be possible to “abuse” that feature under XFree86, but it’s not going to be portable, and it’s not properly supported by all video cards. (Some have a horizontal scrolling granularity of more than one pixel, it seems.)

It might be possible to do under Win32 as well, but AFAIK, there’s no Windows API for it, so it would be highly driver specific… Could be wrong, though.

//David

.---------------------------------------
| David Olofson
| Programmer

david.olofson at reologica.se
Address:
REOLOGICA Instruments AB
Scheelev?gen 30
223 63 LUND
Sweden
---------------------------------------
Phone: 046-12 77 60
Fax: 046-12 50 57
Mobil:
E-mail: david.olofson at reologica.se
WWW: http://www.reologica.se

`-----> We Make Rheology RealOn Wed, 5/06/2002 14:22:58 , Matthew Miller wrote:

In the old days of mode-x, if one wanted to do a smooth-scrolling tile-based
game, one would define a chunk of video memory larger than the actual video
mode, draw to that, and then scroll around within it, only actually
redrawing the edges when needed. This was very nice and fast and looked
great.

Is there any way to do the equivalent in modern hardware, short of the
openGL route? I’m thinking of the way XFree86 lets you scroll around with
a virtual screen resolution – is there any way to make use of this?