Subversion Repositories ngs

Rev

Rev 69 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1.  
  2. @echo off
  3.  
  4. if not exist tmp md tmp
  5. call setpath_tools
  6. call setpath_includes
  7.  
  8. cls
  9.  
  10. rem сборка основного кода
  11. asl -U -L -C -x -olist tmp\flasher.lst -i %includes% flasher.a80 || goto error
  12. p2bin flasher.p tmp\flasher.rom -r $-$ -k
  13.  
  14. mhmt -mlz tmp\flasher.rom tmp\flasher.pack
  15.  
  16. rem сборка scl
  17. asl -U -L -C -x -olist tmp\make_flasher2scl.lst -i %includes% make\make_flasher2scl.a80 || goto error
  18. p2bin make\make_flasher2scl.p flasher.scl -r $-$ -k
  19.  
  20. csum32 flasher.scl -a
  21.  
  22. rem сборка Hobeta
  23. asl -U -L -C -x -olist tmp\flasher4hobeta.lst -i %includes% make\flasher4hobeta.a80 || goto error
  24. p2bin make\flasher4hobeta.p FLASHNGS.$C -r $-$ -k
  25.  
  26. rem сборка tap
  27. copy /B /Y make\flasher.src flasher.tap
  28. taptool +$ flasher.tap make\flasher.!b
  29. taptool +$ flasher.tap FLASHNGS.$C
  30.  
  31. echo ########################
  32. echo # -= End Compile Ok =- #
  33. echo ########################
  34. goto exit
  35.  
  36. :error
  37. echo #######################
  38. echo # -= Error Compile =- #
  39. echo #######################
  40.  
  41. :exit
  42.