From: Ian Chapman Newsgroups: comp.os.msdos.djgpp Subject: Re: uname and processor type? Date: Thu, 02 Oct 1997 16:24:29 -0400 Organization: Nortel Message-ID: <343402FD.1342@nortel.ca> References: <6100u0$i0t$1 AT star DOT cs DOT vu DOT nl> Reply-To: ichapman AT nortel DOT ca NNTP-Posting-Host: bcarib90.bnr.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 26 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi, at the top of boot bios prom of a 8088 that is in hex ffff:fff0 there are some pointers. The very top 4 bytes is the start up vector. The other 12 contain the info I think you need. I you look at some of the bios calls which usually exist as c function calls you may find one that returns what you require. I guess it's not changed too much with the processor updates. Regards Ian. Ruiter de M wrote: > > Would it be possible to let uname detect the processor type in a next > release? > > I personally don't know how, but it shouldn't be too difficult for > *real* programmers. > > Right now, the only thing it reports is 'pc' which is of little use. > -- > Groeten, Michel. http://www.cs.vu.nl/~mdruiter > \----/==\----/ > \ / \ / "You know, Beavis, you need things that suck, > \/ \/ to have things that are cool", Butt-Head.