Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!nrl-cmf!umix!tardis!pepe!shane
From: shane@pepe.cc.umich.edu (Shane Looker)
Newsgroups: comp.sys.mac
Subject: Re: INIT code
Message-ID: <397@tardis.cc.umich.edu>
Date: Wed, 25-Nov-87 11:35:38 EST
Article-I.D.: tardis.397
Posted: Wed Nov 25 11:35:38 1987
Date-Received: Sun, 29-Nov-87 09:24:02 EST
References: <617@lsrhs.UUCP>
Sender: usenet@tardis.cc.umich.edu
Reply-To: shane@pepe.cc.umich.edu (Shane Looker)
Organization: University of Michigan Computing Center, Ann Arbor
Lines: 14

In article <617@lsrhs.UUCP> schmidt@lsrhs.UUCP (Chris Schmidt) writes:
>So let's say I want my SE's params set up a certain way everytime I boot with
>a certain diskette.  And let's say I write code which sets those params.  Now
>how do I package that code to turn it into and INIT?  Looking for a guru . ..
This is going to depend on what language/compiler you are using.  I've 
written an INIT to do this which is about 10 lines of C code.  We've compiled
it under LSC and MPW C both.

You are just generating a CODE resource which is called an INIT resource.

Shane Looker                       |  "He's dead Jim,
shane@pepe.cc.umich.edu            |     you grab his tricorder,
uunet!umix!pepe.cc.umich.edu!shane |     I'll get his wallet."
Looker@um.cc.umich.edu