Newsgroups: comp.sys.mac.misc Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cunixf.cc.columbia.edu!cunixb.cc.columbia.edu!es1 From: es1@cunixb.cc.columbia.edu (Ethan Solomita) Subject: Re: 68000 specific program? Message-ID: <1991May18.192102.15897@cunixf.cc.columbia.edu> Sender: usenet@cunixf.cc.columbia.edu (The Network News) Nntp-Posting-Host: cunixb.cc.columbia.edu Reply-To: es1@cunixb.cc.columbia.edu (Ethan Solomita) Organization: Columbia University References: <1991May18.180250.20204@cunixf.cc.columbia.edu> <1991May18.190505.21579@ux1.cso.uiuc.edu> Date: Sat, 18 May 1991 19:21:02 GMT In article <1991May18.190505.21579@ux1.cso.uiuc.edu> sjhg9320@uxa.cso.uiuc.edu (Maximum Slackness ) writes: >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? >-- >______________________________________________________________________________ >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I can't quite fathom WHY he would want to do this, but all the emulators I know of support 030s just fine. -- Ethan The constitution isn't perfect, but it's better than what we have now.