Advertisement
Guest User

Untitled

a guest
Jul 26th, 2013
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;=======================================================================
  2. ; Play CD-DA
  3. ; INPUT: command_4 (Byte, music to play)
  4. ;=======================================================================
  5. PlayMusic:
  6.     moveq   #0,d0
  7.     move.b  command_4,d0
  8.     addi.b  #2,d0
  9.     lea (CDDA_TrkBuf).l,a0
  10.     move.w  d0,(a0)
  11.     bios    MSCPLAYR
  12.     rts
  13. ;=======================================================================
  14. ; Temporal data space where the CDDA track ID is stored
  15. ;=======================================================================
  16. CDDA_TrkBuf:
  17.     dc.l    0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement