Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!n8emr!bluemoon!jdeckard From: jdeckard@bluemoon.uucp (Jack Deckard) Newsgroups: comp.sys.amiga.programmer Subject: Audio and softint Message-ID: Date: 11 Jun 91 22:29:23 GMT Sender: bbs@bluemoon.uucp (BBS Login) Organization: Blue Moon BBS ((614) 868-998[0][2][4]) Lines: 22 I've got a problem with using the audio hardware. I have two almost identical routines in assembler. One writes the audio HARDWARE inside a soft interrupt and the second writes the same inside a task. The routine inside the soft interrupt intermittently plays a garbage note while the second routine always plays correctly. To further complicate things, there is a one time interrupt (every time I start a note) to switch between the attack and repeat waveform. I use this same interrupt routine for both play routines above. Anyways, this switch waveform interrupt occassionally fixes the repeat part of a garbage note started inside the soft interrupt. Is there something I don't know about writing custom chip registers intena and dmacon inside a soft interrupt? HELP! - Jack Decckard Helicon Software (still doesn't know what he's doin here) This is from jdeckard@bluemoon.uucp jdeckard%bluemoon@nstar.rn.com who doesn't have their own obnoxious signature yet