vga_waitretrace3
Wait for vertical retrace.
Usage
#include <vga.h>
void vga_waitretrace(void);
Overview
Wait for vertical retrace, that is when the video beam goes dark and returns from the bottom line to the top line. Useful to synchronize animation with monitor refresh.
However, Linux is a multiuser OS, thus some time might have passed already when the function returns. Also, not all cards support this in all modes (or with more or less good results).
Releases
Unchanged in 5 releases since Debian 3.1 (Sarge).