Subversion Repositories ngs

Rev

Blame | Last modification | View Log | Download | RSS feed

  1.  
  2. @echo off
  3.  
  4. if not exist tmp md tmp
  5. set path=%path%;d:\yad\svn\pentevo\tools\asl\bin\;d:\yad\svn\pentevo\tools\mhmt\
  6. set includes=d:\yad\svn\pentevo\rom\;make
  7.  
  8. cls
  9.  
  10. asl -U -L -x -olist tmp\main.lst -i %includes% -D ADR_START=0x8100 main.a80 || goto error
  11. p2bin main.p tmp\main.rom -r $-$ -k || goto error
  12.  
  13. asl -U -L -x -olist tmp\main_sp.lst -i %includes% -D ADR_START=0x8100,_SPRINTER main.a80 || goto error
  14. p2bin main.p tmp\main_sp.rom -r $-$ -k || goto error
  15.  
  16. mhmt -mlz tmp\main.rom tmp\main.pack
  17. mhmt -mlz tmp\main_sp.rom tmp\main_sp.pack
  18.  
  19. asl -U -L -x -olist tmp\make_scl.lst -i %includes% -D ADR_START=0x8100 make\make_scl.a80 || goto error
  20. p2bin make\make_scl.p testngs.scl -r $-$ -k || goto error
  21.  
  22. asl -U -L -x -olist tmp\make_exe.lst -i %includes% -D ADR_START=0x8100 make\make_exe.a80 || goto error
  23. p2bin make\make_exe.p testngs.exe -r $-$ -k || goto error
  24.  
  25. echo ########################
  26. echo # -= End Compile Ok =- #
  27. echo ########################
  28. goto exit
  29.  
  30. :error
  31. echo #######################
  32. echo # -= Error Compile =- #
  33. echo #######################
  34.  
  35. :exit
  36.