home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / sound / sid2wav_2 / !Sid2Wav / Replay < prev    next >
Text File  |  1997-06-19  |  997b  |  28 lines

  1. If "<Sid2Wav$Replaying>" = "Yes" Then Error Already playing!
  2.  
  3. Set Sid2Wav$Replaying "Yes"
  4.  
  5. RMEnsure c64voices 0.10 RMLoad <sid2wav$dir>.c64voice
  6. RMEnsure c64voices 0.10 error You need the C64Voice module
  7. RMEnsure callaswi  0.01 RMLoad System:Modules.callaswi
  8. RMEnsure callaswi  0.01 error You need the CallASwi module
  9.  
  10. |GCC/UNIXLib implementation of UNIX redirection forces this aliasing
  11. |trick if you want to use system variables in the arguments.  :(
  12.  
  13. Set Alias$ProcessM Taskwindow |"<Sid2Wav$Dir>.Sid2Wav -d <Sid2WavR$Options> %*1 %0 <Output$File>|" -wimpslot 896k -name |"Sid2Wav|" -display -quit
  14.  
  15. Set Alias$ProcessS <Sid2Wav$Dir>.Sid2Wav -d <Sid2WavR$Options> %*1 %0 <Output$File>
  16.  
  17.  
  18. |In replay mode Sid2wav singletasks by default.  You can turn
  19. |that off, by uncommenting the If clause and commenting out the
  20. |lines before it.
  21.  
  22. WimpSlot -min 896k -max 896k
  23. ProcessS
  24. |If "<Wimp$State>" = "commands" Then ProcessS Else ProcessM
  25.  
  26. Unset Alias$ProcessS
  27. Unset Alias$ProcessM
  28. Unset Sid2Wav$Replaying