Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!pasteur!agate!thoth9.berkeley.edu!jmm From: jmm@thoth9.berkeley.edu Newsgroups: comp.sys.mac.programmer Subject: Patching traps in LSC Message-ID: <7679@agate.BERKELEY.EDU> Date: 15 Mar 88 06:03:02 GMT Sender: usenet@agate.BERKELEY.EDU Reply-To: jmm@thoth9.berkeley.edu () Organization: UC Berkeley, Celtic Studies program Lines: 17 Does anyone have any sample code they can send me that does this? I'm having trouble figuring out how to tell SetTrapAddress where I want it to go in my C code. 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? Last but not least, how does one get to the program counter inside LSC assembly code? The compiler chokes on both pc and PC. I can't find anything in the 2.01 supplement that talks about it. Thanks, / James Moore / | jmm@bartleby.berkeley.edu / / |--------------------------------------------| / Ma ta Gaeilge agut, / | Nil aon speis ag Ollscoile na | / scriobh i! / | California im bharulacha fein. |