Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!oliveb!sun!pepper!cmcmanis From: cmcmanis%pepper@Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga.tech Subject: Re: Audio quirks Message-ID: <111627@sun.Eng.Sun.COM> Date: 21 Jun 89 23:21:42 GMT References: <12293@well.UUCP> Sender: news@sun.Eng.Sun.COM Reply-To: cmcmanis@sun.UUCP (Chuck McManis) Organization: Sun Microsystems, Mountain View Lines: 20 In article <12293@well.UUCP> farren@well.UUCP (Mike Farren) writes: ->Here's what I ended up with: -> ->Play sound: turn off audio DMA. Wait enough time to be SURE that the ->channel is reset (I used MOVE #100,D0 - DBF d0, - probably overkill). -->Stuff values into registers, set a flag to 1, turn on DMA. ... -> ... While it seems to work o.k., I hate ->the idea of delay loops in an interrupt routine - it's not very polite, ->you know? Ever tried it on a 68020 or 030? Bet it isn't "overkill" any more. I think there must be a better answer and one that will work on all processors as well. Have you seen Bryce's article "How to waste time" ? --Chuck McManis uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@sun.com These opinions are my own and no one elses, but you knew that didn't you. "A most excellent barbarian ... Genghis Kahn!"