www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/30/13:30:11

From: "Dylan Trotter" <trotterd AT idirect DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Timing
Date: Sat, 30 Jan 1999 00:40:14 -0500
Lines: 16
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
NNTP-Posting-Host: liv5-32.oshawa.idirect.com
Message-ID: <36b31e2e.0@nemo.idirect.com>
X-Trace: 30 Jan 1999 09:58:54 +0500, liv5-32.oshawa.idirect.com
Organization: via Internet Direct
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have been programming for a while, and have a good grip on how to program
the system timer using an interrupt service routine to create a useful
timing system, but I fail to grasp how to time things so that they are the
same speed on all machines, so that the frames per second differ depending
on the speed of the machine. Please note that I am referring to game
programming.

If anyone could help me in understanding how this works or direct me to a
page which can explain it, I would greatly appreciate it.

Thank you in advance,
    Dylan Trotter




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019