Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!rutgers!ames!lll-tis!ptsfa!ihnp4!inuxc!iuvax!pur-ee!pc.ecn.purdue.edu!jmoore
From: jmoore@pc.ecn.purdue.edu (James D Moore)
Newsgroups: comp.sys.ibm.pc
Subject: Do you know how ? Would you mind telling me ?
Message-ID: <732@pc.ecn.purdue.edu>
Date: Mon, 27-Jul-87 12:32:19 EDT
Article-I.D.: pc.732
Posted: Mon Jul 27 12:32:19 1987
Date-Received: Tue, 28-Jul-87 06:45:38 EDT
Reply-To: jmoore@pc.ecn.purdue.edu (James D Moore)
Distribution: world
Organization: Purdue University Engineering Computer Network
Lines: 31


     I recently wrote a program (maily to see if I could do it) that
would tell me what the configuration of a system was for any PC/XT/AT.
I am doing a major rewrite of this program and would like to add some
new interesting features.

     I have been able to determine the number of serial, parallel, disks,
type of computer(PCjr,PC,XT,AT), presence of 8087 chip and the version
of dos. I also know how I can determine what the type a disk is (DS/DD,
high density, hard disk), what version of ROM is present and some other
micellanious information. What I would like to do now is to include code
that would do the following. 

(1) Determine the CPU speed. What I mean here is if a person has a
    turbo XT like I have determine under what clock speed they are
    using (4.77 or 8 or ??).
(2) Also if possible determine the CPU type (8086,8088,80186,80286,80386)

     I am uncertain how to do the first. I don't know if is possible to do 
the second one. I don't realy think the last one is possible but thought
I would ask. I have mentioned to several people here that I have done this
and they seem interested. I know there are some programs out there that
will do similar things but I was curious how it was done. Here at work we
have several PC/XT/AT systems and I am occasionaly asked which machines
are set up with what so I figured I could use this to check some of the
above features.

    Any help with the above will be appreciated. 

Jim Moore
jmoore@gb.ecn.purdue.edu