Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!rutgers!cbmvax!carolyn From: carolyn@cbmvax.cbm.UUCP (Carolyn Scheppner) Newsgroups: comp.sys.amiga Subject: Re: Audio Interrupt vector Message-ID: <1035@cbmvax.cbmvax.cbm.UUCP> Date: Mon, 24-Nov-86 19:05:53 EST Article-I.D.: cbmvax.1035 Posted: Mon Nov 24 19:05:53 1986 Date-Received: Tue, 25-Nov-86 00:09:59 EST References: <8611191016.AA19776@cory.Berkeley.EDU> <1074@zen.BERKELEY.EDU> Reply-To: carolyn@cbmvax.UUCP (Carolyn Scheppner) Organization: Commodore Technology, West Chester, PA Lines: 32 In article <1074@zen.BERKELEY.EDU> c55-grig@buddy.Berkeley.EDU.UUCP (Ted Griggs) writes: >[] (re: interrupt example) >Does the procedure and example program given in the ROM Kernal Manual >actually work? I'm not sure which example you're talking about. If you mean the Interrupt Server example (p 1-57 CBM RK, p 61 A-W Exec), then it depends on which book you have. The version on p. 61-62 of the Addison-Wesley Rom Kernel: Exec manual is OK as far as I know. The text on Interrupts is also updated in that manual. But the version in our older 1.1 Rom Kernel Manual (Vol. 1, p 1-57,58) is messed up. The major problems are: p.1-57 The two occurences of "sizeof(struct Interrupt *)" should be "sizeof(struct Interrupt)" (no *). You want to allocate (and free) an Entire Interrupt Structure NOT a Pointer to one. Else you are poking values into mem you don't own. p.1-58 In the assembler portion, I think that in this particular example, the MOVE.L (A1),A0 should be MOVE.L A1,A0. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Carolyn Scheppner -- CBM >>Amiga Technical Support<< UUCP ...{allegra,caip,ihnp4,seismo}!cbmvax!carolyn PHONE 215-431-9180 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=