Path: utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!psuvax1!rutgers!rochester!kodak!uupsi!sunic!isgate!krafla!ebth From: ebth@rhi.hi.is (Eggert Bjarni Thorlacius) Newsgroups: comp.sys.mac.programmer Subject: When is the boot process over? Message-ID: <2799@krafla.rhi.hi.is> Date: 19 Feb 91 14:57:32 GMT Organization: University of Iceland Lines: 25 Hello everybody. 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). Also, does anyone have a good method to head-patch from Pascal? Is it just procedure TheOriginalTrap(parameters:BlahBlahBlah; originalAdrr:LongInt) inline POP A0 UNLK (A6) JMP A0; (and if so, how do you say that in hex?), or is there something more to it? Thanks in advance Eggert Thorlacius Unversity of Iceland. Disclaimer of the week: All opinions marked with a (*) are mine. The others are somebody elses'.