Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!sjhg9320 From: sjhg9320@uxa.cso.uiuc.edu (Maximum Slackness ) Newsgroups: comp.sys.mac.misc Subject: Re: 68000 specific program? Message-ID: <1991May18.190505.21579@ux1.cso.uiuc.edu> Date: 18 May 91 19:05:05 GMT References: <1991May18.180250.20204@cunixf.cc.columbia.edu> Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 18 rs54@cunixf.cc.columbia.edu (Richard Sucgang) writes: >I am unsure about this but: >Is it possible to write a program so coded that it >will specifically run only with a 68000 chip, and not t >on any of the later generation chips? The instruction sets for the MC68XXX series are pretty much entirely forward compatible, but you can always tell which chip you're using by checking the Status Registers or, if you're running under the Mac OS, by making a quick call to SysEnvirons (Pre-System 7) or Gestalt. Once you've checked which chips are there, just exit to shell if you've returned a result you don't want. Any chance you're doing this to support an emulator? -- ______________________________________________________________________________ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~