View Single Post
Old 16 January 2020, 14:53   #10
Per aspera ad astra

ross's Avatar
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 49
Posts: 2,472
Originally Posted by Herpes View Post
... one sees TWO consecutive 'triggerings' of the AUD0-IRQ handler. One for the sample-start and the second executing the switch-off DMA code. Fortunately switching off a disabled AUDx-DMA does NOT trigger the AUDx-IRQ handler - otherwise one would end up in recursion.

What started my confusion was my initial idea to do the switch-off in the handler - unfortunately and now I understand - one does not hear anything because of the immediate switch-off after the DMA was started
This is because Paula internal counter are still counting!
So you do not have a DMA fetch but IRQ
You need to stop immediately the trigger, disabling through INTENA.
ross is offline  
Page generated in 0.04159 seconds with 11 queries