View Single Post
Old 19 March 2021, 22:00   #1
leonard
Registered User
 
leonard's Avatar
 
Join Date: Apr 2013
Location: paris
Posts: 133
strange way to set dma audio

Hi,

The "official" safe way to start a new sampleA on voice A is:

1) switch off dma voice A ( move.w #$0001,$dff096 )
2) write sample address ( move.l #sampleA,$dff0a0 )
3) wait the right amount of time ( say X rasterlines )
4) enable the dma voice A ( move.w #$8001,$dff096 )

Now I wonder if it's still safe to invert 1) and 2) like:

1) write sample address ( move.l #sampleA,$dff0a0 )
2) switch off dma voice A ( move.w #$0001,$dff096 )
3) wait the right amount of time ( say X rasterlines )
4) enable the dma voice A ( move.w #$8001,$dff096 )

I think it should be ok but I want to be sure.

Any though?
leonard is offline  
 
Page generated in 0.04394 seconds with 11 queries