From: cs19 AT cityscape DOT co DOT uk (BDC Client Team) Newsgroups: comp.os.msdos.djgpp Subject: Help detecting processor and speed Date: Tue, 29 Apr 1997 12:14:58 GMT Organization: IP-GOLD User Message-ID: <862316098.18214.0@itsb.demon.co.uk> NNTP-Posting-Host: itsb.demon.co.uk Lines: 15 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I have nearly finished a game using djgpp and allegro 2.2 - I wish to make this game run the same regardless of the processor and speed of the machine that it is running on. What I think I need to do is setup a pause in the middle of the main loop with the length of pause determined by the speed and type of processor e.g. pause 0 milliseconds if a 486 33mhz, pause 10 milliseconds if a 486 66mhz , pause 100 if Pentium 75mhz, and so on. Can anyone tell me a way that I can write a function that returns processor type and speed? Thanks in advance Neil