home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / audio / 3956 < prev    next >
Encoding:
Text File  |  1992-11-16  |  1.9 KB  |  39 lines

  1. Nntp-Posting-Host: kolsaas.ifi.uio.no
  2. Newsgroups: comp.sys.amiga.audio
  3. Path: sparky!uunet!mcsun!sunic!aun.uninett.no!nuug!ifi.uio.no!nilsco
  4. From: nilsco@ifi.uio.no (Nils Liaaen Corneliusen)
  5. Subject: Re: Random modplayer?
  6. Message-ID: <1992Nov16.142014.7212@ifi.uio.no>
  7. Sender: nilsco@ifi.uio.no (Nils Liaaen Corneliusen)
  8. Organization: Dept. of Informatics, University of Oslo, Norway
  9. References:  <1992Nov14.024056.69318@ns1.cc.lehigh.edu>
  10. Date: Mon, 16 Nov 1992 14:20:14 GMT
  11. Lines: 25
  12. Originator: nilsco@kolsaas.ifi.uio.no
  13.  
  14.  
  15. In article <1992Nov14.024056.69318@ns1.cc.lehigh.edu>, elm4@ns1.cc.lehigh.edu (Ed Mackey) writes:
  16. > Annoying busywait bug?!  WHAT annoying busywait bug????  There is no point
  17. > in EdPlayer that I do any busywaiting when another task could be running.
  18. (...)
  19. > If you're talking about the DMA wait, then you have no concept of the
  20. > time involved -- there needs to be a pause between certain writes to
  21. > the audio chip, but this pause is so small there would not be time
  22. > for a single task switch on most systems.  To exit the interrupt, resume
  23. > the current task, suspend the current task, and re-enter the interrupt,
  24. > would take much more time than the DMA wait itself, so there is no
  25. > point doing that.  By the time you got out it would be time to go back
  26. > in.  No work would be accomplished and time would be wasted.
  27.  
  28. Assuming that you use the normal protracker replay, it is wrong to use a
  29. busywait. If you play a module that requires REAL tight timing, it will
  30. play wrong. The right thing to do is to use audio interrupts. At least, thats
  31. what is done in the coming IntuiTracker and it WORKS.
  32.  
  33. BTW, what should the busywait be set to on a 4000?
  34.  
  35. ------------------------------------------------------------
  36. INCLUDE "disclaimer.i"                       Zrouoggathog
  37. Nils Corneliusen                             Cthulhu in '96!
  38. internet: nilsco@ifi.uio.no                  Hasoithshuna
  39.