home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.amiga.programmer:17344 comp.sys.amiga.audio:4353 comp.sys.amiga.hardware:21469
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!olivea!spool.mu.edu!agate!doc.ic.ac.uk!warwick!coventry!csg019
- From: csg019@cch.coventry.ac.uk (-~=Zaphod=~-)
- Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.audio,comp.sys.amiga.hardware
- Subject: Re: Audio HARDWARE bug?
- Message-ID: <Bz9Arr.5vF@cck.coventry.ac.uk>
- Date: 14 Dec 92 15:52:15 GMT
- References: <1992Dec14.032539.7219@netcom.com>
- Sender: news@cck.coventry.ac.uk (news user)
- Organization: Coventry University
- Lines: 46
- Nntp-Posting-Host: cc_sysh
-
- In article <1992Dec14.032539.7219@netcom.com> jazz@netcom.com (David C. Navas) writes:
- >Desperate, HELP HELP!
-
- >-I RECEIVE *TWO* INTERRUPTS!-
- >
- >Sometimes. Maybe 30% of the time.
- >
- >If I put a counter in my interrupt routine and print the counter out just
- >before I turn on the DMA and just after I do so, the count jumps up two.
- >I can Delay(30) before the first print routine, results are the same -- TWO
- >interrupts (about 30% of the time).
- >
- >How do I possibly know when to ignore the first interrupt? Is this a known
- >bug in the Amiga's hardware? Could I have a bad Paula/8520 causing this?
- >Which one might it be?
- >
- >Thanks for any and all help, this has been driving me bonkers for the last six
- >hours or so....
-
- I had this problem for some time, the sound system generates interupts
- WHEN THE DMA REGISTERS HAVE BEEN LOADED. *Not when a sample finishes.
- Apparently they are copied to hidden backup registers.
-
- The way to tell if your samples has finished is to load a zero length sample
- after loading the address of the first sample.
-
- So, the following sequence may occur:-
-
- move DMAADDRESS of sample into audio hardware.
-
- *Interupt occurs* (Clear it!)
-
- move dummy sample into audio hardware.
-
- *interupt occurs* This is the point when the first sample has finished.
-
- This drove me crazy for about 3 months, before someone at Argonought
- software told me how to do it.
-
- --Steve.
-
- --
- *******************************************************************************
- * /// A member of S.H.I.T. (Super High Intelligence Team) /// *
- * /// Fight, defeat and kill organized laming. /// *
- ****\\\X//********Steven Haggerty**csg019@uk.ac.cov.cck ok?*****\\\X//*********
-