Prev: $3012 Up: Map Next: $3047
$302A: Initialise voice #3
Used by the routines at $2CD9, $BA00 and $BA48.
$302A LDA #$80 Set voice #3 frequency to $8080.
$302C STA $D40E
$302F STA $D40F
$3032 STA $D412 Set voice #3 control register: voice off, noise enabled.
$3035 LDA #$0F Set volume to maximum.
$3037 STA $D418
$303A LDA #$01 Set voice #3 attack length to 2ms and delay length to 6ms.
$303C STA $D413
$303F LDA #$00 Set voice #3 sustain volume to 0 and release length to 6ms.
$3041 STA $D414
$3044 LDA #$80 Set A to $80 for no particular reason.
$3046 RTS
Prev: $3012 Up: Map Next: $3047