home *** CD-ROM | disk | FTP | other *** search
/ c't freeware shareware 1997 / CT_SW_97.ISO / pc / software / betriebs / win95 / pc64w214.exe / OTHER.BAK < prev    next >
Text File  |  1997-01-15  |  3KB  |  123 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.  
  74. echo"
  75. echo"
  76. "%1\BINtoP00.exe" %5 Other.p00
  77. if errorlevel 1 pause
  78. ccsdpmi.exe ccs64.exe Other.p00
  79. goto End
  80.  
  81. :CCSxxPoo
  82. :CCSxxTape
  83. :CCSxxDisk
  84. echo"
  85. echo"===>  Enter 'RUN' to start the program  <==="ˇ
  86.  
  87. echo"
  88. echo"
  89. ccsdpmi.exe ccs64.exe %5
  90. goto End
  91.  
  92. rem -------------------------------------------------------------------
  93.  
  94. :PCxxDosBin
  95. "%1\BINtoP00.exe" %5 Other.p00
  96. pc64.exe .\Other.p00
  97. goto End
  98.  
  99. :PCxxDosPoo
  100. pc64.exe %5
  101. goto End
  102.  
  103. :PCxxDosTape
  104. deltree /y Tape
  105. md Tape
  106. cd Tape
  107. copy %5 .
  108. "%1\T64toP00.exe"
  109. del *.t64
  110. set N=
  111. for %%i in (*.p00) do if "%N%"=="" set N=%%i
  112. ..\pc64.exe .\%N%
  113. set N=
  114. goto End
  115.  
  116. :PCxxDosDisk
  117. pc64.exe %5 -autotype load"$24",8$0Dlist$0D
  118. goto End
  119.  
  120. rem -------------------------------------------------------------------
  121.  
  122. :End
  123.