From: "Damian Yerrick" Newsgroups: comp.os.msdos.djgpp References: 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: 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" 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