Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!cs.utexas.edu!yale!mintaka!bloom-beacon!eru!luth!sunic!mcsun!cernvax!chx400!ethz!neptune!a!mneerach From: mneerach@a.inf.ethz.ch (Matthias Ulrich Neeracher) Newsgroups: comp.sys.mac.programmer Subject: Re: How do I expand system heap from an INIT? Message-ID: <1717@neptune.inf.ethz.ch> Date: 13 Aug 90 09:11:40 GMT References: Sender: news@neptune.inf.ethz.ch Reply-To: mneerach@a.inf.ethz.ch (Matthias Ulrich Neeracher) Organization: Departement Informatik, ETH, Zurich Lines: 24 In article mrr@mrsoft.Newport.RI.US (Mark Rinfret) writes: >The problem, I'm certain, is that it requires more system heap than is >available from the standard system. I don't want to modify the boot >blocks, so I need a way for the INIT (which installs the driver) to expand >the system heap. > >I gather (from some snooping through TMON Startup) that the way to do this >is roughly as follows: > > [real horrorshow way to do it omitted :-] The new & improved way to do this is to insert a resource of type 'sysz' into your INIT file. This resource contains, I think, a longword, containing the amount by which to grow the system heap. The easiest way to get a correct 'sysz' resource is to steal one. Most bigger INITs have one. >Mark Matthias ----- Matthias Neeracher mneerach@c.inf.ethz.ch "I wouldn't recommend sex, drugs or insanity for everyone, but they've always worked for me" -- Hunter S. Thompson