Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;-------------------------------------------------
- ; note macros
- ;-------------------------------------------------
- .macro _A len
- .byte $00 | ( len - 1 )
- .endmac
- .macro _ASHARP len
- .byte $10 | ( len - 1 )
- .endmac
- .macro _B len
- .byte $20 | ( len - 1 )
- .endmac
- .macro _C len
- .byte $30 | ( len - 1 )
- .endmac
- .macro _CSHARP len
- .byte $40 | ( len - 1 )
- .endmac
- .macro _D len
- .byte $50 | ( len - 1 )
- .endmac
- .macro _DSHARP len
- .byte $60 | ( len - 1 )
- .endmac
- .macro _E len
- .byte $70 | ( len - 1 )
- .endmac
- .macro _F len
- .byte $80 | ( len - 1 )
- .endmac
- .macro _FSHARP len
- .byte $90 | ( len - 1 )
- .endmac
- .macro _G len
- .byte $a0 | ( len - 1 )
- .endmac
- .macro _GSHARP len
- .byte $b0 | ( len - 1 )
- .endmac
- .macro _REST len
- .byte $c0 | ( len - 1 )
- .endmac
- .macro _TIE len
- .byte $d0 | ( len - 1 )
- .endmac
- .macro _HIHAT len
- .byte $00 | ( len - 1 )
- .endmac
- .macro _CRASH len
- .byte $10 | ( len - 1 )
- .endmac
- .macro _SNARE len
- .byte $20 | ( len - 1 )
- .endmac
- ;-------------------------------------------------
- ; command macros
- ;-------------------------------------------------
- .macro _OCTAVE oct
- .byte $e0 | oct
- .endmac
- .macro _VOLDTY vol, duty
- .byte $f0, vol | ( duty << 6 )
- .endmac
- .macro _SWEEP direction, step
- .byte $f3, direction, step
- .endmac
- .macro _GATE amount
- .byte $f4, amount
- .endmac
- .macro _LOOP count, label
- .byte $f5, count
- .addr label
- .endmac
- .macro _ENDPAT
- .byte $fe
- .endmac
- .macro _ENDSNG
- .byte $ff
- .endmac
- ;-------------------------------------------------
- ; music data
- ;-------------------------------------------------
Add Comment
Please, Sign In to add comment