Mail Archives: djgpp/1996/09/05/19:14:32
Xref: | news2.mv.net comp.os.msdos.djgpp:8320
|
From: | phodder AT pncl DOT co DOT uk (Philip Hodder)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: Need help: Allegro & UniVBE
|
Date: | 5 Sep 1996 21:37:10 GMT
|
Organization: | UUNet PIPEX server (post doesn't reflect views of UUNet PIPEX)
|
Lines: | 31
|
Message-ID: | <50nh66$k6t@tube.news.pipex.net>
|
References: | <322D21F1 DOT 46A5 AT ohio-state DOT edu>
|
NNTP-Posting-Host: | login31.pncl.co.uk
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
In article <322D21F1 DOT 46A5 AT ohio-state DOT edu>, kelsey DOT 14 AT ohio-state DOT edu says...
>
>I just installed the newest version of UniVBE on my computer... I've
>been trying to write a tile-based game in 640x480x256 using Allegro
>(involving a lot of bitmap-blits and page flipping...) I've notice that
>the tiles scroll up and down a lot faster as long as their top corner
>has an X value that is a multiple of 4. Why is this? How can I make
>the whole thing go faster (or *ugh* slow the whole thing down) so it
>will scroll at a constant speed? I didn't have this problem before
>installing UniVBE.
>
>Thanks,
>Bart
I believe that's mentioned in the ALLEGRO.TXT file. However it does say -
oh, hell, I'll cut and paste! Here 'tis:
Mode-X scrolling is reliable and will work on any card. Unfortunately a
lot of VESA implementations (including UniVBE!) can only handle
horizontal scrolling in four pixel increments, so smooth horizontal
panning is impossible. This is a shame, but I can't see any way round it.
Doesn't say WHY exactely - I'd guess it's how UniVBE deals with memory.
Vertical scrolling should be OK (?)
I don't know if there's a workaround - I suspect not.
HTH,
Phil.
- Raw text -