delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/06/15:33:07

Message-ID: <38ECC779.7B042149@corel.com>
Date: Thu, 06 Apr 2000 13:20:57 -0400
From: Jonathan Meunier <jonathanm AT corel DOT com>
X-Mailer: Mozilla 4.7 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: games speed ?
References: <5C3H4.8071$pR DOT 68532 AT carnaval DOT risq DOT qc DOT ca>
NNTP-Posting-Host: 120.150.3.42
X-Trace: 6 Apr 2000 13:21:34 -0500, 120.150.3.42
Lines: 16
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Yannick Benoit wrote:
> 
> hi,
> i made some part of a game and after testing it on few diferent pcs, i found
> out that the speed is never the same, sometimes it lags and sometimes its
> too fast...
> 
> is there a way to make it the same on every pcs?

Control its FPS (frames per second). This can be achieved by using the
PIT (int 0x08). The PCGPE had a good text on it (pit.txt).. just do a
search for it and you'll find enough info to get started.

HTH,
	.(Trancelucid).
	  .  Jaune  .

- Raw text -


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