Xref: utzoo comp.sys.amiga:36200 comp.sys.amiga.tech:5961 Path: utzoo!attcan!uunet!cs.utexas.edu!usc!hacgate!gryphon!crash!pnet01!wade From: wade@pnet01.cts.com (Wade Bickel) Newsgroups: comp.sys.amiga,comp.sys.amiga.tech Subject: Re: Audio copper Instructions Message-ID: <4526@crash.cts.com> Date: 1 Jul 89 07:36:08 GMT Sender: news@crash.cts.com Organization: People-Net [pnet01], El Cajon CA Lines: 37 nor1675@dsacg2.UUCP (Michael Figg) writes: >registers? I understand (or atleast think I understand) the "CMOVE' macro >(along with CINIT and CEND) but as far as I can tell this only crates the >copper instructions but doesn't execute them. I would think I would need to >merge the instructions (MrgCop) but since I'm not doing any graphics there >really isn't anything else to merge with. It would also seem that since I'm >not doing any graphics that I wouldn't need a view or viewport, but it seems >that all the copper functions depend on these. Am I even heading in the >right direction? Any help would be appreciated. Thanks. Please don't take this wrong, but you need to study the function of the copper a little more. For simple applications what you do is use the CINIT macro to start a USER copper list. Then place the instructions you want into the copper list using CWAIT and CMOVE, and end the list with the CEND macro. Then assign the list to the UCopList field of the ViewPort you wish to use and then call MrgCop() which takes the copper lists found in the ViewPort(s), merges them together (MakeVPort() creates some copper lists which can be found in other feilds of the ViewPort), and assigns them to the View copperlist pointers (actually there is one level of indirection from the View pointers, but that's not really important here). At this point a call to LoadView() will activate the complete copperlists, which will include your copperlist. If you need more help, send me E-Mail, and I'll elaborate, or pass your questions to associates who are very experianced with the Copper/Blitter. You may want to reconsider using the Copper for audio, as it is a beam sync machine and may cause some problems when used with audio. Have Fun, Wade. UUCP: {nosc ucsd hplabs!hp-sdd}!crash!pnet01!wade ARPA: crash!pnet01!wade@nosc.mil INET: wade@pnet01.cts.com