Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!clyde.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!samsung!caen!ox.com!tbomb!time Newsgroups: comp.sys.mac.programmer Subject: Re: When is the boot process over? Message-ID: <1CE00001.y856or@tbomb.ice.com> Date: 19 Feb 91 14:08:16 GMT Reply-To: time@ice.com Organization: ICE Engineering, Inc. Lines: 21 X-Mailer: uAccess - Mac Release: 1.0.7+ In article <2799@krafla.rhi.hi.is>, ebth@rhi.hi.is (Eggert Bjarni Thorlacius) writes: > I am writing an INIT that is supposed to be active only during the startup > process. Is there any trap(toolbox preferably) that is called for the first > time *soon* after startup? I have tried InitWindows, InitMenus etc. but a > lot of INITs call these, so they won't do. I also patched InsertMenu but, > for some wierd reason, that didn't work on a MacIIfx (read: probably only works > on a Plus). In the SCSI disk drivers I have written, I use a "dNeedTime" flag in the driver. The first "accRun" control call to the driver does not happen until just after the Finder launch. If you do not have a driver for this, you might try patching PBMount, which should happen just as Finder boots. tim. ------------------------------------------------------------- Tim Endres | time@ice.com ICE Engineering | uupsi!ice.com!time 8840 Main Street | Voice FAX Whitmore Lake MI. 48189 | (313) 449 8288 (313) 449 9208