[comp.sys.amiga.programmer] How do you switch the Audio filer on/off ?

cmp8163@sys.uea.ac.uk (P.N.J. Vlietstra) (06/30/91)

What is the C= supported way of switching the hardware audio
filter on/off in C (using SAS/C 5.10a) ? I know I have to
fiddle with the registers in the CIA, but how exactly do I go about
it ? If I use 
extern struct CIA ciaa, ciab; 
and link it with BLink, the linker comes up with an error
(> 32768 bytes, ABSOLUTE address error)...

I haven't got access to my Hardware Reference Manual at the moment,
so I would be grateful if someone looked it up for me !

Thanks,

Peter Vlietstra
University of East Anglia
Norwich
United Kingdom

rjc@geech.gnu.ai.mit.edu (Ray Cromwell) (07/01/91)

>extern struct CIA ciaa, ciab;
>and link it with BLink, the linker comes up with an error
>(> 32768 bytes, ABSOLUTE address error)...

  Try declaring it as 'far'. 
--
/ INET:rjc@gnu.ai.mit.edu     *   // The opinions expressed here do not      \
| INET:r_cromwe@upr2.clu.net  | \X/  in any way reflect the views of my self.|
\ UUCP:uunet!tnc!m0023        *                                              /