Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site fortune.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!fortune!mats From: mats@fortune.UUCP (Mats Wichmann) Newsgroups: net.unix-wizards Subject: Re: magic numbers? (teach me, please) Message-ID: <5804@fortune.UUCP> Date: Tue, 10-Dec-85 15:02:51 EST Article-I.D.: fortune.5804 Posted: Tue Dec 10 15:02:51 1985 Date-Received: Thu, 12-Dec-85 05:14:11 EST References: <3059@sun.uucp> Reply-To: mats@fortune.UUCP (PUT YOUR NAME HERE) Distribution: net Organization: Fortune Systems, Redwood City, CA. Lines: 36 68000 magic numbers? Well... This is what appears in the header file from Motorola (and AT&T) these days: #define MC68MAGIC 0520 #define MC68TVMAGIC 0521 #define M68MAGIC 0210 #define M68TVMAGIC 0211 The M68 stuff and all the TV (transfer vector) things have to do with AT&T-internal development - the multiprocessor switches and those things, if I am not mistaken. So there is really only one magic number for the 68000 family that gets used. (MC68MAGIC). As far as #defines go, the "party line" is: m68k is for the family M68000 M68010 M68020 M68881 and such identify a particular chip. Variations: as many as you can think of. For example, Unisoft at one time used mc68000, but later switched to m68000 (and may now be using m68k). And So On. I think MIT used mc68000, so people who started with their code as a base probably used mc68000 at least for a while.... Mats Wichmann Fortune Systems {ihnp4,hplabs,dual}!fortune!mats "Quality. Comfort. Style. And at prices jou can afford!" - Izzy Moreno