Dead Hackers Society
Other BBSes »
 
 

68k Inside

Sommarhack 2024

Silly Venture 2024 SE
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
STE & Falcon DMA sound
Posted by: defjam Feb,05.2015-21:31 


I have some little problem,
I stream a sample from harddisk, every 8 seconds the DMA sound address is changed(triple buffering).

On STE I set the DMA sound address as follows:
move.w #0,$8900.w ; DMA sound off
bsr set_DMA_address ; set address in D0
move.w #%11,$8900.w ; DMA sound on

set_DMA_address sets frame_start, frame_address and frame_end(frame_start + the 8 seconds end of buffer)

This is done in the vbl, always at the first time(if there's a address change request, always in sync)

On Falcon the $8900.w writes lead to a audible looping when the address is changed, removing the $8900.w writes will make the audio-playback perfect on F030, but it won't work on STE then anymore(wrong or too late address setting)


Any help is highly appreciated, because I really want to release that STE demo now, but it has to work on Falcon too.













[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
STE & Falcon DMA sound defjam Feb,05.2015-21:31
  Re: STE & Falcon DMA sound dml Feb,06.2015-00:18
    Re: STE & Falcon DMA sound mikro Feb,06.2015-09:22
  Re: STE & Falcon DMA sound Mr.Styckx Feb,06.2015-01:04
    Re: STE & Falcon DMA sound gwEm/PHF Feb,06.2015-11:06
    Re: STE & Falcon DMA sound evil Feb,06.2015-22:36
      Re: STE & Falcon DMA sound Mr.Styckx Feb,07.2015-01:43
        Re: STE & Falcon DMA sound Laurent / Thadoss Feb,07.2015-10:40
          Re: STE & Falcon DMA sound Defjam Feb,07.2015-18:00
        Re: STE & Falcon DMA sound Abstract_f Feb,16.2015-15:56
          Re: STE & Falcon DMA sound ggn Feb,16.2015-16:55
            Re: STE & Falcon DMA sound gwEm/PHF Feb,18.2015-11:09
          Re: STE & Falcon DMA sound PeP Feb,17.2015-16:55
            Re: STE & Falcon DMA sound gwEm/PHF Feb,18.2015-11:05


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson