Path: utzoo!utgpu!attcan!uunet!mcvax!unido!iraun1!iraul1!joachim From: joachim@iraul1.ira.uka.de (Joachim Lindenberg) Newsgroups: comp.sys.mac.programmer Subject: Register saving conventions Message-ID: <664@iraun1.ira.uka.de> Date: 30 Jul 88 10:16:19 GMT Sender: news@iraun1.ira.uka.de Reply-To: joachim@iraul1.ira.uka.de (Joachim Lindenberg) Organization: Karlsruhe University, West-Germany Lines: 13 Apple, while writing some small patches to toolbox traps, I noticed that Multifinder doesn't conform to the register saving conventions stated in Inside Macintosh. Some routines apparently assume, that registers are not changed by the trap. The traps I patched are GetResource and DrawMenuBar. Both of them work only if I save registers D0-D2/A0-A1. I know that you did a great job implementing MultiFinder, but fixing problems like that will ease the life of your developers. Joachim Lindenberg, Dept. of Computer Science, University of Karlsruhe Sommerstrasse 4, 7500 Karlsruhe 1, Federal Republic of Germany