lda #$1f sta $d418 sta $d405 sta $d40c sta $d413 lda #$ff sta $d406 sta $d40d sta $d414 lda #$51 sta $d404 lda #$21 sta $d40b lda #$15 sta $d412 lda #$04 sta $d401 sta $d408 sta $d40f ldx #$14 stx $d400 ldx #$19 stx $d407 ldx #$0f stx $d40e lda #$00 sta $d415 lda #$04 sta $d416 lda #$ff sta $d417
setsound: ldx #$1f sndloop: lda sndtab,x sta $d400,x dex bpl sndloop rts //---------------------------------------------------------- sndtab: .byte $30, $04, $00, $00, $21, $0f, $fa, $28 .byte $04, $00, $00, $21, $0f, $fa, $18, $02 .byte $00, $00, $21, $0f, $fa, $00, $00, $ff .byte $3f, $6d, $00, $00, $00, $00, $00, $02 //----------------------------------------------------------
especially if I could get a musician to integrate it as a part of a tune.