delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/26/00:38:58

From: "Damian Yerrick" <NOSP AT Musenet@pineight.8m.com>
Newsgroups: comp.os.msdos.djgpp
References: <M6j%3.1053$XJ3 DOT 6168 AT newsfeed DOT slurp DOT net>
Subject: Re: Allegro -- midi speed
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <eCn%3.1054$l_6.24678@dfiatx1-snr1.gtei.net>
X-Trace: /Kw5eD5fW9lBHSSrn4IOEyMOx2Gk6325RJNT2o/QM5iQT7oxXDwStRxQgPUJzDLa19UOYnN/TCFe!vh8iBWI/QsF0hzPbRidbtcO/+/1yDPpWz0dkIBoX2PklDSm0mFwwo1oqS/BDoWFkqL7h+64=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Fri, 26 Nov 1999 04:01:14 GMT
Distribution: world
Date: Fri, 26 Nov 1999 04:01:15 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Rob McCrea" <r_mccrea AT hotmail DOT com> wrote:
> I recently started learning C++, using djgpp and Allegro.  This stuff
rules.
>
> I had been using:
>     i_love_bill=FALSE;  // disable speed control
> Took me a few hours to figure out the reason why midis were playing at
> hyper-speed.
>
> What's the work around for this?  How can I make midis play
> at normal speed on different computers, while the rest or the
> program runs at maximum speed?
> -- purpose being for turn-based games.

Leave i_love_bill on. Your program will still run fast.

> I'm also curious why it works this way.

Windows either returns garbage or crashes when a DOS
program tries to use advanced timer techniques.


Damian Yerrick


- Raw text -


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