   Allegro Timing
  I know that allegro has interrupt handlers, but I do not entirely understand them.  I know that I can use these to slow down my program, but I do not know how to implement this.  I know that I need to put one before my rendering code to stop it, and I can keep a relatively constant framerate this way, but I have no idea of what I should actually put there.  Please help!I am using   int install_int_ex(void (*proc)(), int speed);   
  Please see The FAQ.Timers don't "slow the game down," they just are functions that are called at regular intervals. Of course, you can use these to keep your game running at a certain speed. The simplest approach, as outlined in the above FAQ is to install a timer that is called X times per second. That function simply increments a counter. Your code idles until that counter > 0. It then performs logic.while (still_playing){  while (counter > 0)  {    do_logic();    need_to_draw = TRUE;    counter--;  }  if (need_to_draw)  {    do_gfx();    need_to_draw = FALSE;  }};  Whoa, thanks, I never would have thought of that! (sadly...)I have Game Programming All-In-One 2nd ed. , but my friend is borrowing it right now...   