Dead Hackers Society
Other BBSes »
 
 

68k Inside

Sommarhack 2024

Silly Venture 2024 SE
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Little crossabr question
Posted by: Laurent / Thadoss Jul,19.2014-15:49 

Hi all,

I've got a little question : in the SillyVenture 2K14 demo, I'm doing a sound fade out at the end of the demo.

For doing this, I use the DAC attenuation address ($ffff893a.w) as follow :


; Fade by one the DAC volume
move.b $ffff893a.w,d0 ; LLLL RRRR
add.b #$11,d0
cmp.b #$ff,d0
beq.s .sound_is_out

; Save the new attenuation value
move.b d0,$ffff893a.w
rts

.sound_is_out:


But instead of fading the left and right channels, it semms that only one channel is faded.

Does anyone knows what's wrong here ?

Best regards

Laurent








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

Topic Posted by  Date 
Little crossabr question Laurent / Thadoss Jul,19.2014-15:49
  Re: Little crossabr question dml Jul,19.2014-18:56
    Re: Little crossabr question gwEm/PHF Jul,20.2014-22:28
      Re: Little crossabr question thothy Jul,25.2014-21:31
        Re: Little crossabr question Laurent / Thadoss Jul,25.2014-23:43
          Re: Little crossabr question thothy Jul,26.2014-15:41


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