How can you make the display frames per second be independent from the game logic? That is so the game logic runs the same speed no matter how fast the video card can render
Koen Witters has a very detailed article about different game loop setups.
He covers:
(These are the headings pulled from the article, in order of desirability.)