home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sunic!dkuug!diku!terra
- From: terra@diku.dk (Morten Welinder)
- Newsgroups: alt.lang.asm
- Subject: Re: Identifying Processors
- Message-ID: <1992Nov23.122703.12623@odin.diku.dk>
- Date: 23 Nov 92 12:27:03 GMT
- References: <98.749.uupcb@freddy.ersys.edmonton.ab.ca>
- Sender: terra@rimfaxe.diku.dk
- Organization: Department of Computer Science, U of Copenhagen
- Lines: 26
-
- denis.giroux@freddy.ersys.edmonton.ab.ca (Denis Giroux) writes:
-
- >TO: all
-
- >I have a question for the assembler gurus out there. Is there an easy way to
- >distinguish a 286 processor from a 386, and a 386 from a 486?
-
- Get the program Infoplus and study the source. It is available from
- simtel20 and garbo.
-
- In short: It is easy in *real* mode, impossible in protected mode (which
- includes virtual-8086-mode).
-
- Don't flame me for this; think it over instead. The 486 manual gives
- states that all the flag-handling instructions may trap in protected
- mode. Also the BSwap instructions (etc.) may be emulated on a 386.
- Interrupts cannot be stopped so timing is unrealiable.
-
- A 486DX can be distinguished from a 386 by checking the type of
- co-processor. A RapidCad would show as 486, though (I think!).
-
- --
- -------------------------------------------------------------
- Signature file under construction -- Drive carefully, please!
- -------------------------------------------------------------
- Morten Welinder, terra@diku.dk
-