NAME
extimer - Using the timer (delays and interrupts). Allegro game
programming library.
SYNOPSIS
#include <allegro.h>
Example extimer
DESCRIPTION
This program demonstrates how to use the timer routines. These can be
a bit of a pain, because you have to be sure you lock all the memory
that is used inside your interrupt handlers. The first part of the
example shows a basic use of timing using the blocking function rest().
The second part shows how to use three timers with different
frequencies in a non blocking way.
SEE ALSO
END_OF_FUNCTION(3alleg), END_OF_MAIN(3alleg), LOCK_FUNCTION(3alleg),
LOCK_VARIABLE(3alleg), SCREEN_W(3alleg), allegro_error(3alleg),
allegro_init(3alleg), allegro_message(3alleg), clear_to_color(3alleg),
desktop_palette(3alleg), font(3alleg), install_int(3alleg),
install_int_ex(3alleg), install_keyboard(3alleg),
install_timer(3alleg), key(3alleg), keypressed(3alleg),
makecol(3alleg), readkey(3alleg), rest(3alleg), screen(3alleg),
set_gfx_mode(3alleg), set_palette(3alleg), textprintf_centre_ex(3alleg)