Skeetz Posted November 24, 2008 Share Posted November 24, 2008 Hey, I just got Batari Basic, and set it up as the tutorial described. When I try to compile the sample.bas file, Crimson Editor returns this: ---------- Capture Output ---------- > "C:\Atari Programming\batari_Basic_version_1.0\2600bas.bat" C:\Atari Programming\batari_Basic_version_1.0\samples\sample.bas Programming\batari_Basic_version_1.0 was unexpected at this time. > Terminated with exit code 255. Can anyone explain how to get rid of this issue? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
+batari Posted November 25, 2008 Share Posted November 25, 2008 Hey, I just got Batari Basic, and set it up as the tutorial described. When I try to compile the sample.bas file, Crimson Editor returns this: ---------- Capture Output ---------- > "C:\Atari Programming\batari_Basic_version_1.0\2600bas.bat" C:\Atari Programming\batari_Basic_version_1.0\samples\sample.bas Programming\batari_Basic_version_1.0 was unexpected at this time. > Terminated with exit code 255. Can anyone explain how to get rid of this issue? Thanks in advance. It looks like the spaces in the folder "Atari Programming" are causing the issue. You can try using folders without spaces. Or, it should be possible to use folders with spaces if you modify the batch files. There may have been a fix for this posted in the past, but I don't recall. Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted November 25, 2008 Share Posted November 25, 2008 I wonder if getting the updated files would help at all: http://www.atariage.com/forums/index.php?showtopic=133529 Quote Link to comment Share on other sites More sharing options...
Skeetz Posted November 25, 2008 Author Share Posted November 25, 2008 (edited) Added the updated files, it still returns the same error. Also removed the space in everything, still the same result. Edited November 26, 2008 by Skeetz Quote Link to comment Share on other sites More sharing options...
SeaGtGruff Posted November 25, 2008 Share Posted November 25, 2008 Added the updated files, it still returns the same error. Also removed the space in everyth8ing, still the same result. You can fix this by putting quotes in the user tool you've set up in Crimson Editor. Refer to the following threads for more information. http://www.atariage.com/forums/index.php?s...t&p=1508055 http://www.atariage.com/forums/index.php?s...t&p=1361130 http://www.atariage.com/forums/index.php?s...t&p=1345196 Michael Quote Link to comment Share on other sites More sharing options...
Skeetz Posted November 25, 2008 Author Share Posted November 25, 2008 (edited) Now it compiles, but when I browse to the directory where it should have been outputed, there is no bas.bin file. I remember 2600 IDE gave me similar problems when I tried to run the compiled file through STella - it said it couldnt find the bin. Edited November 25, 2008 by Skeetz Quote Link to comment Share on other sites More sharing options...
SeaGtGruff Posted November 28, 2008 Share Posted November 28, 2008 Now it compiles, but when I browse to the directory where it should have been outputed, there is no bas.bin file. Which directory are you expecting it to be in? Have you searched for it in any of the other directories? The batari Basic compile batch (2600bas.bat) should put the .bas.bin object file in the same directory that the .bas source file is in. However, it is certainly possible to edit the compile batch file, so I can't say with 100% certainty that the .bas.bin file will end up in the same directory as the .bas file. The Visual batari Basic programming editor (or IDE) gives you the option of creating a bin subfolder inside of your project's folder, and it will put the .bas.bin file in that subfolder if you're using that option, otherwise it will put the .bas.bin file in the same folder as the .bas file (i.e., in that project's folder). I remember 2600 IDE gave me similar problems when I tried to run the compiled file through STella - it said it couldnt find the bin. The 2600IDE editor uses a different compile batch file (2600baside.bat), but it also puts the .bas.bin file in the same folder as the .bas file. Even if the .bas.bin file is created successfully, the emulator may need to be told where it is. If I remember correctly, the 2600IDE and Visual batari Basic IDEs should automatically tell the emulator to look in the correct folder for the .bas.bin file. But if you're using the Crimson Editor IDE, you must set up a user tool for running the compiled program in the emulator, and you must specify the directory and file name in the Argument field. The easiest way to do that is to put $(FilePath).bin in the Argument field. If you've got any spaces in your file path, you must put the Argument in quotes-- "$(FilePath).bin". Michael Quote Link to comment Share on other sites More sharing options...
Skeetz Posted November 29, 2008 Author Share Posted November 29, 2008 Yes, I browsed through all of my folders in my "Atari Programming" Folder, and there is no .bin file. I'm suspecting something's off with my enviroment variable, so I'll think I'll give that a look next. Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted November 29, 2008 Share Posted November 29, 2008 Have you tried Visual batari Basic? If so, did you have the same problem with that? Quote Link to comment Share on other sites More sharing options...
Skeetz Posted December 1, 2008 Author Share Posted December 1, 2008 With Visual BB , it wouldn't find the bin as well. Whenever I tried to run it through an emulator, it just said that Stella couldn;t find the .bin. Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted December 1, 2008 Share Posted December 1, 2008 With Visual BB , it wouldn't find the bin as well. Whenever I tried to run it through an emulator, it just said that Stella couldn;t find the .bin. If I remember correctly, this bB user was having a similar problem: http://www.atariage.com/forums/index.php?s...133930&st=0 The fix for his problem was the updated 2600bas.bat file: http://www.atariage.com/forums/index.php?showtopic=133529 If you already downloaded it and plopped it into the appropriate folder, it seems there is a new problem to be solved. Quote Link to comment Share on other sites More sharing options...
Skeetz Posted December 2, 2008 Author Share Posted December 2, 2008 Yup, added the batch a while ago. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.