vga_waitretrace(3) wait for vertical retrace.

SYNOPSIS

#include <vga.h>

void vga_waitretrace(void);

DESCRIPTION

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).

AUTHOR

This manual page was edited by Michael Weller <[email protected]>. The exact source of the referenced function as well as of the original documentation is unknown.

It is very likely that both are at least to some extent are due to Harm Hanemaayer <[email protected]>.

Occasionally this might be wrong. I hereby asked to be excused by the original author and will happily accept any additions or corrections to this first version of the svgalib manual.