Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;=======================================================================
- ; Play CD-DA
- ; INPUT: command_4 (Byte, music to play)
- ;=======================================================================
- PlayMusic:
- moveq #0,d0
- move.b command_4,d0
- addi.b #2,d0
- lea (CDDA_TrkBuf).l,a0
- move.w d0,(a0)
- bios MSCPLAYR
- rts
- ;=======================================================================
- ; Temporal data space where the CDDA track ID is stored
- ;=======================================================================
- CDDA_TrkBuf:
- dc.l 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement