home *** CD-ROM | disk | FTP | other *** search
/ M.u.C.S. Disc 2000 / MUCS2000.iso / sound / mp2 / src / dsp / make / make_dsp.tom < prev   
Encoding:
Text File  |  1996-11-28  |  724 b   |  38 lines

  1. # Make DSP file.
  2.  
  3. set PATH d:\devpac\dsp\bin,d:\usr\bin,d:\lang\devpac31\dsp_bin
  4.  
  5. asm56000.ttp -A -B mp2.asm >make\foo.out
  6. if $status != 0 then goto error
  7. #dsplnk.ttp -B foxen.cln
  8.  
  9. echo Converting to .lod
  10. cldlod.ttp mp2.cld >make\tmp.lod
  11. cd make\
  12. echo Adding additional CR
  13. cd ..
  14. gawk -f make\gawk.in <make\tmp.lod >mp2.lod
  15. echo Removing Symbol table
  16. lod2lod <mp2.lod >make\tmp.lod
  17. lod2bin make\tmp.lod mp2.dsp
  18. echo Make include file
  19. binary2c mp2.dsp dsp_bin.h
  20. rm mp2.cld
  21. rm make\tmp.lod
  22. rm make\foo.out
  23.  
  24. echo Ok, that should be it!
  25. goto quit
  26.  
  27. :error
  28. echo A minor error has occured!
  29. echo Running error detection program.
  30. rm mp2.cld
  31. cd make\
  32. agrep -e ERROR foo.out
  33.  
  34. :quit
  35. exit
  36.  
  37. # The End!
  38.