Path: utzoo!mnetor!uunet!husc6!think!ephraim From: ephraim@think.COM (ephraim vishniac) Newsgroups: comp.sys.mac.programmer Subject: Re: Patching traps in LSC Message-ID: <18033@think.UUCP> Date: 15 Mar 88 15:32:26 GMT References: <7679@agate.BERKELEY.EDU> Sender: usenet@think.UUCP Reply-To: ephraim@vidar.think.com.UUCP (ephraim vishniac) Organization: Thinking Machines Corporation, Cambridge, MA Lines: 33 In article <7679@agate.BERKELEY.EDU> jmm@thoth9.berkeley.edu () writes: >Also, I need to find out what the format for PTCH resources is, and exactly >what they do and when they are executed/loaded. >Is there a tech note on this subject that I've missed? PTCH resources contain patches that are installed early on in the bootstrapping process. So far as I know, they're just naked code. The PTCH executed is selected according to the ROM version number of the machine that's starting up. This way new versions of the Apple system software can contain different patches for different machines with different ROMs. I doubt that Apple will ever officially document the format of PTCH resources. They're not there for 3rd parties, just for Apple use in patching the system. Outside developers are expected to use INITs, which are much more flexible, easier to install, and generally approved of. Why exactly do you *need* this information? I'm curious. >Thanks, You're welcome. >/ James Moore / | jmm@bartleby.berkeley.edu Ephraim Vishniac ephraim@think.com Thinking Machines Corporation / 245 First Street / Cambridge, MA 02142-1214 On two occasions I have been asked, "Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?"