Mail Archives: djgpp/1997/07/30/00:24:24
: Yeah, there's no 100% reliable way to sync with the retrace under VESA
: (the retrace detecting method differs on some SVGA chipsets, and the
: VESA API doesn't provide any functions suitable for the kind of precise
: timing required to keep an interrupt in sync with the hardware).
: >Anyone know how to make it correctly???
: You could just use mode-X instead of a VESA resolution. Alternatively
: structure your code so you don't need to use retrace callbacks, by using
: the vsync() poll function and a seperate timer to measure how many
: retraces you have missed between each update...
You don't need to sync to retraces under VBE 2.0 because it won't flicker.
If you want it really smooth and fast, use a triple buffer where you have
one being drawn, one waiting to be drawn, and one that you draw on, it
works really well.
--
+--- -- -- - -
| [pHiXx/VorteX]
: phixx AT usa DOT net
:
.
- Raw text -