|
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]
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.
|