SoundFX: lda #%10110110 sta $d404 // Crank up volume lda #$08 sta $d418 // ADSR Envelope Channel #1 lda FX_AD,x sta $d405 lda FX_SR,x sta $d406 // Frequency Channel #1 lda FX_HI,x sta $d401 lda FX_LO,x sta $d400 // Control Register Channel #1 lda FX_WF,x sta $d404 rts FX_AD: .byte $40, $81, $95, $21 FX_SR: .byte $08, $00, $03, $01 FX_HI: .byte $19, $10, $30, $30 FX_LO: .byte $b1, $00, $00, $00 FX_WF: .byte $81, $21, $17, $21