home *** CD-ROM | disk | FTP | other *** search
- Path: xs1.xs4all.nl!marcone
- From: marcone@xs1.xs4all.nl (Marco Nelissen)
- Newsgroups: comp.sys.amiga.hardware,comp.sys.amiga.programmer
- Subject: Re: AUDIO INTERRUPTS!
- Followup-To: comp.sys.amiga.hardware,comp.sys.amiga.programmer
- Date: 19 Apr 1996 07:17:37 GMT
- Organization: XS4ALL Internet
- Distribution: world
- Message-ID: <4l7emh$ob7@news.xs4all.nl>
- References: <4l5ncq$let@sunsystem5.informatik.tu-muenchen.de>
- NNTP-Posting-Host: xs1.xs4all.nl
- X-Newsreader: TIN [version 1.2 PL2]
-
- Juergen "Rally" Fischer (fischerj@informatik.tu-muenchen.de) wrote:
- : my prob is that if dma is off, manipulating audXdat won't work.
-
- Yes it will.
-
- : imho audXdat can be written by cpu, but is no use for anything
- : because dma has to be active and the words load from mem interfer...
-
- dma does NOT have to be active. If you put a word in AUDxDAT, and set
- a period, the word will be output, and you will get an interrupt.
- If you then store a new word and clear the interrupt, the new word
- will be output and so on. If you stop writing data to AUDxDAT, output
- will cease.
-
- : Major prob is audio will make one interrupt and you have to
- : load _2_ bytes from sampler in that time. ugh.
-
- Not a problem at all. Just divide the period by two, and read one
- byte for each interrupt.
-
- Marco
-