Mail Archives: djgpp/1997/09/08/07:48:42
> J.E. wrote:
>
> Hello. I just downloaded Allegro v2.2, but I am having some serious
> problems with the screen scrolling function. I wrote this code to test
> the scrolling (something new to me):
>
Why try to do hardware scroll? I am working on something that does
scrolling in full 640x480 SVGA under Allegro. I wanted to use hardware
scroll too (sounded faster) but then checked out the Alleg docs and
realised that some cards won't go for it. So I used a simple system of
two Allegro bitmaps, one the bitmap that is to be scolled (much larger
than my physical screen) with another bitmap (the window) that gets
blitted to screen to simulate a hardware scroll over the much larger
virtual bitmap. It is very fast ( I use a Pent 150 under W95, running
DJGPP in a DOS box). If you want, mail me at acebear AT sb DOT puk DOT ac DOT za and I
can let you have my source for this. otherwise, post here, but I can't
guarantee that I will be able to answer.
Hope this helped!
Rylan
- Raw text -