home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.amiga.programmer:17362 comp.sys.amiga.audio:4359 comp.sys.amiga.hardware:21499
- Path: sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!lundman
- Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.audio,comp.sys.amiga.hardware
- Subject: Re: Audio HARDWARE bug?
- Message-ID: <LUNDMAN.92Dec15135807@kauri.kauri.vuw.ac.nz>
- From: lundman@kauri.vuw.ac.nz (L Lundman)
- Date: Tue, 15 Dec 1992 01:58:07 GMT
- Sender: news@comp.vuw.ac.nz (News Admin)
- References: <1992Dec14.032539.7219@netcom.com>
- Organization: Disorganised.
- Nntp-Posting-Host: kauri.vuw.ac.nz
- In-Reply-To: jazz@netcom.com's message of Mon, 14 Dec 1992 03:25:39 GMT
- Lines: 30
-
- In article <1992Dec14.032539.7219@netcom.com> jazz@netcom.com (David C. Navas) writes:
-
-
- > I turn on DMA.
- >
- > -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).
-
- I had this same problem in my own game, getting several interrupts as well,
- the way I solved it was to turn of the interrupts (including master) load
- all the values into the AUDIO registers (Do the busy wait loop if I
- wanted to retrig the sample) and turn on the interrupts and DMA.
-
- Another thing I did is when my interrupts handler is called, rather than
- to turn of DMA I just killed the volume. Removes the blopping sound.
-
- Kef
- --
- -------------------------------------------------------------------------------
- Jorgen Lundman eMail: lundman@kauri.vuw.ac.nz, lundman@rata.vuw.ac.nz.
- 8 Atua Street My thoughts are my own and not VUW's..
- Johnsonville,wgtn "Research indicate that only 21 percent of what goes
- New Zealand wrong here is actually my fault."
- Phone: +64 4 478 2724 (GMT+11 hrs) Amiga Archive Admin on ftphost.vuw.ac.nz
-