|
Atari coding BBS
Re: master/left/right volume |
Posted by: Zorro2
|
Oct,27.2005-12:00
|
Here an exemple :
initsound:
move.w #$7ff,$ffff8924.w * Init microwire
dmwr: cmp.w #$7ff,$ffff8924.w
bne.s dmwr
move.w #%10011101000,d0 * Volume max
bsr.s microwrite
move.w #%10010000000+aigus,d0 * Aigus
bsr.s microwrite
move.w #%10001000000+graves,d0 * Graves
bsr.s microwrite
rts
microwrite:
moveq.l #127,d1
waitdma:dbra.w d1,waitdma
move.w d0,$ffff8922.w
rts
|
[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.
|