Path: utzoo!attcan!uunet!husc6!mailrus!ames!pasteur!ucbvax!dewey.soe.berkeley.edu!oster From: oster@dewey.soe.berkeley.edu (David Phillip Oster) Newsgroups: comp.sys.mac.programmer Subject: Re: Absolute Assembly Message-ID: <24687@ucbvax.BERKELEY.EDU> Date: 14 Jun 88 04:08:50 GMT References: <3049@polya.Stanford.EDU> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: oster@dewey.soe.berkeley.edu.UUCP (David Phillip Oster) Organization: School of Education, UC-Berkeley Lines: 13 Check out the Apple Addison-Weselly book on writing NuBus cards for the Mac II. In it they use some clever MPW macros to lay out complex data structures for Mac II card ROMs. I've always just used MDS for this, but any assembler should work. Once you have the code physically arranged in the ROM where you want it, I find it convenient to access hardware registers by LEAing a pointer to them into a register, and similarly for blocks of variables defined at a pc relative address. --- David Phillip Oster --When you asked me to live in sin with you Arpa: oster@dewey.soe.berkeley.edu --I didn't know you meant sloth. Uucp: {uwvax,decvax,ihnp4}!ucbvax!oster%dewey.soe.berkeley.edu