🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #1508

RE: Controlling Game Speed

#1508
From: Chris
Date: Sat, 12 Dec 1992 08:24
18 lines
1345 bytes
Hello
    When timing a game it must be remembered that each 'cycle' of the
game might have varying durations due to the number of sprites/actors. 
I guess an interrupt handler could solve this.  However, there is a
built in timer number that is incremented by the 18.2*sec timer.  It is
in low memory and can be utilized by using biostime from bios.h (for
speed reasons you could probably access the exact memory location (which i
forget right now)). There is one problem though, the timer gets reset at
midnight. 

--
Chris Busch   CBUSCH@ub.d.umn.edu
"C++ is the language of choice."
"The use of COBOL cripples the mind; its teaching should, therefore,
    be reguarded as a criminal offense." - E. W. Dijkista 
"High-level languages should remove burden from the programmer, not
 put burden on the programmer!"
"Don't ask 'why would you do that?' instead ask 'why wouldn't you do that?'"
Technical Details
Message-ID: <1gdhqfINNqie@ub.d.umn.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!flop.ENGR.ORST.EDU!gaia.ucs.orst.edu!umn.edu!news.d.umn.edu!ub.d.umn.edu!not-for-mail

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!flop.ENGR.ORST.EDU!gaia.ucs.orst.edu!umn.edu!news.d.umn.edu!ub.d.umn.edu!not-for-mail
From: cbusch@ub.d.umn.edu (Chris)
Newsgroups: rec.games.programmer
Subject: RE: Controlling Game Speed
Message-ID: <1gdhqfINNqie@ub.d.umn.edu>
Date: 12 Dec 92 08:24:47 GMT
Article-I.D.: ub.1gdhqfINNqie
Distribution: world
Organization: University of Minnesota, Duluth
Lines: 18
NNTP-Posting-Host: ub.d.umn.edu