Sender: root AT delorie DOT com Message-ID: <37A838B2.13B7F4E0@inti.gov.ar> Date: Wed, 04 Aug 1999 09:57:22 -0300 From: salvador Organization: INTI X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.36 i686) X-Accept-Language: es-AR, en, es MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: CPU identification (Was: Re: uname -m ?) References: <37A6E429 DOT 6245A110 AT softhome DOT net> <37A7563C DOT FF6D5A62 AT inti DOT gov DOT ar> <37A7EC52 DOT BF994B23 AT softhome DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Laurynas Biveinis wrote: > salvador wrote: > > NT defines an environment variable with the CPU ID, so I think the program > > should first try with it if NT is detected. > > I don't have access to NT docs/NT itself. If anybody > knows, please tell me. Ugh, so ... should I boot my NT 4 server? ;-), I'll try to do it. > > Why don't use the routines found in Allegro? they are very well tested. > > I took a look at those routines. And was surprised. Mine prg > uses one cpu detection program found somewhere in x2ftp. > Allegro uses the same routines. I tried to add Cyrix detection > from them, but then it started to detect my CPU as Cyrix :) Usually these routines are from Intel manuals, isn't surprising they are so similar. SET -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org set AT ieee DOT org set-soft AT bigfoot DOT com Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013