home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / amiga / programm / 17362 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.9 KB

  1. Xref: sparky comp.sys.amiga.programmer:17362 comp.sys.amiga.audio:4359 comp.sys.amiga.hardware:21499
  2. Path: sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!lundman
  3. Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.audio,comp.sys.amiga.hardware
  4. Subject: Re: Audio HARDWARE bug?
  5. Message-ID: <LUNDMAN.92Dec15135807@kauri.kauri.vuw.ac.nz>
  6. From: lundman@kauri.vuw.ac.nz (L Lundman)
  7. Date: Tue, 15 Dec 1992 01:58:07 GMT
  8. Sender: news@comp.vuw.ac.nz (News Admin)
  9. References: <1992Dec14.032539.7219@netcom.com>
  10. Organization: Disorganised.
  11. Nntp-Posting-Host: kauri.vuw.ac.nz
  12. In-Reply-To: jazz@netcom.com's message of Mon, 14 Dec 1992 03:25:39 GMT
  13. Lines: 30
  14.  
  15. In article <1992Dec14.032539.7219@netcom.com> jazz@netcom.com (David C. Navas) writes:
  16.  
  17.  
  18. >   I turn on DMA.
  19. >
  20. >   -I RECEIVE *TWO* INTERRUPTS!-
  21. >
  22. >   Sometimes.  Maybe 30% of the time.
  23. >
  24. >   If I put a counter in my interrupt routine and print the counter out just
  25. >   before I turn on the DMA and just after I do so, the count jumps up two.
  26. >   I can Delay(30) before the first print routine, results are the same -- TWO
  27. >   interrupts (about 30% of the time).
  28.  
  29. I had this same problem in my own game, getting several interrupts as well, 
  30. the way I solved it was to turn of the interrupts (including master) load
  31. all the values into the AUDIO registers (Do the busy wait loop if I
  32. wanted to retrig the sample) and turn on the interrupts and DMA.
  33.  
  34. Another thing I did is when my interrupts handler is called, rather than
  35. to turn of DMA I just killed the volume. Removes the blopping sound.
  36.  
  37. Kef
  38. --
  39. -------------------------------------------------------------------------------
  40. Jorgen Lundman         eMail: lundman@kauri.vuw.ac.nz, lundman@rata.vuw.ac.nz.
  41. 8 Atua Street          My thoughts are my own and not VUW's..
  42. Johnsonville,wgtn      "Research indicate that only 21 percent of what goes
  43. New Zealand            wrong here is actually my fault."
  44. Phone: +64 4 478 2724 (GMT+11 hrs) Amiga Archive Admin on ftphost.vuw.ac.nz
  45.