home *** CD-ROM | disk | FTP | other *** search
/ c't freeware shareware 1997 / CT_SW_97.ISO / mac / Software / betriebs / win95 / pc64w214.exe / OTHER.BAT < prev    next >
DOS Batch File  |  1997-01-15  |  3KB  |  121 lines

  1. @echo off
  2. if "%5"=="" goto Usage
  3. %2
  4. cd "%3"
  5. goto %4
  6. :Usage
  7. echo"
  8. echo"usage: other.bat <toolsdir> <emudrv> <emudir> <emu+filetype> <c64file>"ˇ
  9. echo" 
  10. pause
  11. goto End
  12.  
  13. rem -------------------------------------------------------------------
  14.  
  15. :ALExCxxBin
  16. :ALExCxxPoo
  17. "%1\BINtoP00.exe" %5 Other.p00
  18. c64.exe -k "load\"other\",8,1~run~"
  19. goto End
  20.  
  21. :ALExCxxTape
  22. deltree /y Tape
  23. md Tape
  24. cd Tape
  25. copy %5 .
  26. "%1\T64toP00.exe"
  27. del *.t64
  28. set N=
  29. for %%i in (*.p00) do if "%N%"=="" set N=%%i
  30. "%1\BINtoP00.exe" %N% Other.p00
  31. set N=
  32. ..\c64.exe -i ..\romimage.c64 -l ..\lib.c64 -k "load\"other\",8,1~run~"
  33. goto End
  34.  
  35. :ALExCxxDisk
  36. if exist 1541ROMs.c64 goto ROMOK
  37. echo"
  38. echo"The update of ALE C64 1.12h doesn't come with the 1541 ROM image
  39. echo"Please copy C:\PC64Win\Original.154 to C:\ALEC64\1541ROMs.c64
  40. echo"
  41. pause
  42. :ROMOK
  43. c64.exe -d %5 -k "load\"$\",8~list~"
  44. goto End
  45.  
  46. rem -------------------------------------------------------------------
  47.  
  48. :CxxSBin
  49. :CxxSPoo
  50. if exist Other.t64 del Other.t64
  51. maketape Other %5
  52. rem C64S.exe -tape Other.t64 -autotype LOAD$0DRUN$0D
  53. rem The -tape parameter in C64S v2.5A is buggy!
  54. C64S.exe -autotype $8D-$20PRESS$20F9$8D-$20SELECT$20OTHER.T64$8D-$20PRESS$20L$20TO$20LOAD$8D
  55. goto End
  56.  
  57. :CxxSTape
  58. rem C64S.exe -tape %5 -autotype LOAD$0DRUN$0D
  59. rem The -tape parameter in C64S v2.5A is buggy!
  60. copy %5 Other.t64
  61. C64S.exe -autotype $8D-$20PRESS$20F9$8D-$20SELECT$20OTHER.T64$8D-$20PRESS$20L$20TO$20LOAD$8D
  62. goto End
  63.  
  64. :CxxSDisk
  65. C64S.exe -disk %5 -autotype LOAD$22$24$22,8$0DLIST$0D
  66. goto End
  67.  
  68. rem -------------------------------------------------------------------
  69.  
  70. :CCSxxBin
  71. echo"
  72. echo"===>  Enter 'RUN' to start the program  <==="ˇ
  73. echo"
  74. echo"
  75. "%1\BINtoP00.exe" %5 Other.p00
  76. if errorlevel 1 pause
  77. ccsdpmi.exe ccs64.exe Other.p00
  78. goto End
  79.  
  80. :CCSxxPoo
  81. :CCSxxTape
  82. :CCSxxDisk
  83. echo"
  84. echo"===>  Enter 'RUN' to start the program  <==="ˇ
  85. echo"
  86. echo"
  87. ccsdpmi.exe ccs64.exe %5
  88. goto End
  89.  
  90. rem -------------------------------------------------------------------
  91.  
  92. :PCxxDosBin
  93. "%1\BINtoP00.exe" %5 Other.p00
  94. pc64.exe .\Other.p00
  95. goto End
  96.  
  97. :PCxxDosPoo
  98. pc64.exe %5
  99. goto End
  100.  
  101. :PCxxDosTape
  102. deltree /y Tape
  103. md Tape
  104. cd Tape
  105. copy %5 .
  106. "%1\T64toP00.exe"
  107. del *.t64
  108. set N=
  109. for %%i in (*.p00) do if "%N%"=="" set N=%%i
  110. ..\pc64.exe .\%N%
  111. set N=
  112. goto End
  113.  
  114. :PCxxDosDisk
  115. pc64.exe %5 -autotype load"$24",8$0Dlist$0D
  116. goto End
  117.  
  118. rem -------------------------------------------------------------------
  119.  
  120. :End
  121.