Mail Archives: djgpp/1996/09/05/20:03:07
> 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 thought that it was because it only worked with 4 byte offsets (well,
that
might be obvious... :) because of the way SVGA graphics cards receive
info.
off the bus (generally PCI). I am very vague on this, but I am pretty
sure
this has something to do with it.
If you test the speed rates of a gfx card in VGA and SVGA on faster CPU
machines,
(assuming that you are using a linear framebuffer, and something like
Univbe)
you will notice that VGA peeks at about say 34 Mb/sec, whereas SVGA can
get
say 44 Mb / sec. If you speed test this on a slower machine (say my P166
verses
our other two P100's) you will notice that SVGA will slow down, but VGA
won't.
There is a workaround though: Use 640x480 in 32 bit colour... ;)
Leathal.
- Raw text -