Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!sri-unix!sri-spam!ames!ucbcad!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU.UUCP Newsgroups: comp.sys.amiga Subject: Re: Printer drivers and Aztec 3.04a Message-ID: <8705051624.AA11238@cory.Berkeley.EDU> Date: Tue, 5-May-87 12:24:59 EDT Article-I.D.: cory.8705051624.AA11238 Posted: Tue May 5 12:24:59 1987 Date-Received: Thu, 7-May-87 02:13:58 EDT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 17 >My question is shouldn't A6 have been protected automatically by >the compiler? The compiler does preserve D2 and D3, why not A6? >Is there another option I should have used? Is there anyway to >make A6 be the frame pointer (like in lattice) instead of A5? >This seems necessary since the printer.device was probably created >with lattice, and assumes A6 will be the frame pointer. Why did they do this? Simply because you MUST use A6 for your library base pointer when making AMIGA library calls. Thus, if one uses A5 as one's frame pointer, one doesn't have to save and restore it every time one makes a library call. However, I think Aztec was shortsided to simply assume A6 could be scratch. -Matt