home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / m68k / 1106 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  1.3 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!ftlsw.telematics.com!ted
  2. From: ted@telematics.com (Ted Goldblatt)
  3. Newsgroups: comp.sys.m68k
  4. Subject: Which type of `040 (was: Re: Which processor? )
  5. Message-ID: <1992Sep15.165755.17994@telematics.com>
  6. Date: 15 Sep 92 16:57:55 GMT
  7. References: <1992Sep1.143752.1090@msus1.msus.edu> <334@blars.UUCP> <THOMAS.TORNBLOM.92Sep3170628@beck.nexus.comm.se>
  8. Sender: root@telematics.com
  9. Organization: Telematics Intl., Inc.; Ft. Lauderdale, FL
  10. Lines: 23
  11. Nntp-Posting-Host: sirius.ftlsw.telematics.com
  12.  
  13. Along the lines of this thread, I need to be able to distinguish
  14. between a 68040, 68LC040, and (ideally) a 68EC040.
  15.  
  16. Having determined that the processor is _some_ type of `040 (by
  17. the scheme earlier in this thread), is it reasonable to:
  18.  
  19. try a FNOP; if it doesn't generate a line-F, I'm a (real :-)) 68040
  20. else try a MOVEC MMUSR,d0; if it doesn't generate an illegal, I'm a
  21. 68LC040, else I'm a 68EC040
  22.  
  23. Is this correct? Is there a better approach (or better choice of
  24. instructions to use)?
  25.  
  26. Does anyone know why Moto didn't bother to put a configuration 
  27. register into the 68k architecture so you could find these
  28. things out easily?  :-)
  29.  
  30. Thanx!
  31.  
  32. ted
  33. -- 
  34. Ted Goldblatt    ted@telematics.com     (305) 351-4367
  35.     Telematics Intl., Inc.   Ft. Lauderdale, FL
  36.