AVoltoro Posted November 28, 2012 Share Posted November 28, 2012 Every time I try to compile and run my work, it keeps saying "Code must be active in the editor to run in emulation" and I don't know what it means. Can anyone help me? Quote Link to comment Share on other sites More sharing options...
jwierer Posted November 28, 2012 Share Posted November 28, 2012 Every time I try to compile and run my work, it keeps saying "Code must be active in the editor to run in emulation" and I don't know what it means. Can anyone help me? That's an easy one. First you need to open the .bas file in the editor. That way it knows what you want to compile and run in emulation. -Jeff Quote Link to comment Share on other sites More sharing options...
AVoltoro Posted December 2, 2012 Author Share Posted December 2, 2012 But how do I do that? I thought when I clicked on it to edit the code that was open in the editor? Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted December 2, 2012 Share Posted December 2, 2012 But how do I do that? I thought when I clicked on it to edit the code that was open in the editor? Is this what you are doing? [Video Deleted] I double clicked on a file to open it, compiled it, then ran it. If that's what you are doing and you are getting that error, something must be wrong. You're not using that old Tinkernut stuff are you? Quote Link to comment Share on other sites More sharing options...
AVoltoro Posted December 3, 2012 Author Share Posted December 3, 2012 Well that explains a lot because I got it from Tinkernut. Can anyone find a more up to date version? Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted December 3, 2012 Share Posted December 3, 2012 Well that explains a lot because I got it from Tinkernut. Can anyone find a more up to date version? You could always look here: How to 'Install' Visual batari Basic on a Windows PC or here: Small update for VisualbB Quote Link to comment Share on other sites More sharing options...
AVoltoro Posted December 5, 2012 Author Share Posted December 5, 2012 I thank you for getting me the up to date version of Batari basic, but every time I click on conplile I get a settings page. Where do I go from there? Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted December 5, 2012 Share Posted December 5, 2012 I thank you for getting me the up to date version of Batari basic, but every time I click on conplile I get a settings page. Where do I go from there? Did you do step #3 and run the Configuration Wizard? Or if you have done that, did you check out the note under step #4? Quote Link to comment Share on other sites More sharing options...
AVoltoro Posted January 4, 2013 Author Share Posted January 4, 2013 Well whats happening now is I am going to the settings page, clicking on what I need and coming up with a different error message saying "code must be active in the editor to compile". Quote Link to comment Share on other sites More sharing options...
jwierer Posted January 4, 2013 Share Posted January 4, 2013 It's sending you to the settings page because either the compiler setting is missing or you have it set to a location that doesn't actually have the bB compiler. Once you have that correctly set. Double click on your .bas file and that will be actively open in the code editor. Now you can compile. Once compiled, you'll probably want to to test it in an emulator. If you don't have that set either, you'll be sent back to the settings page. -Jeff Quote Link to comment Share on other sites More sharing options...
AVoltoro Posted January 9, 2013 Author Share Posted January 9, 2013 I seem to getting quite the collection of error messages. I've set the compiler setting to Batari basic itself come up with an error message saying " could not locate default.bas.bin and could not recompile. Please check to make sure it was compiled correctly." Quote Link to comment Share on other sites More sharing options...
jwierer Posted January 10, 2013 Share Posted January 10, 2013 My guess is you have a space in the path name to the compiler, which bB doesn't handle too well. Spend some time here. -Jeff Quote Link to comment Share on other sites More sharing options...
AVoltoro Posted January 13, 2013 Author Share Posted January 13, 2013 Still got the same error messages despite no spaces Quote Link to comment Share on other sites More sharing options...
jwierer Posted January 13, 2013 Share Posted January 13, 2013 Did you replace your 2600bas.bat file? Quote Link to comment Share on other sites More sharing options...
AVoltoro Posted January 14, 2013 Author Share Posted January 14, 2013 How on earth am I supposed to do that? Quote Link to comment Share on other sites More sharing options...
+Gemintronic Posted January 14, 2013 Share Posted January 14, 2013 How on earth am I supposed to do that? Maybe this is what we're looking for? http://www.atariage....r-batari-basic/ OptionalIf you are having trouble you may want to try a different 2600bas.bat 2600bas.zip 837bytes 239 downloads Quote Link to comment Share on other sites More sharing options...
AVoltoro Posted January 19, 2013 Author Share Posted January 19, 2013 This is the exact same version as I have got at home. You know I have a few plans that might help. 1st up, if anyone wants to work with me on this project whilst I plan it from the sidelines (because none of this is working) then please state your interest here. Failing that information on the actual programming language used for the Atari 2600 will be useful. Many thanks. Quote Link to comment Share on other sites More sharing options...
jwierer Posted January 19, 2013 Share Posted January 19, 2013 I guess we haven't asked the obvious question. Are you sure the code you are compiling is valid and should create a .bin? Quote Link to comment Share on other sites More sharing options...
AVoltoro Posted January 19, 2013 Author Share Posted January 19, 2013 The code was taken from an online tutorial explaining how Batari basic works, so yes it should be working fine. Quote Link to comment Share on other sites More sharing options...
jwierer Posted January 19, 2013 Share Posted January 19, 2013 Maybe it's time to provide some detailed information regarding. Operating System version of bB and folder location version of vbB and folder location A link to the source code you're using, a really old tutorial might not compile A clean install using the tutorial RT provided above is hard to break. -Jeff Quote Link to comment Share on other sites More sharing options...
+Gemintronic Posted January 21, 2013 Share Posted January 21, 2013 This whole topic is a reminder for me to do some more experimenting with Cameyo http://www.cameyo.com/ It has the potential to make VisualbB a single file application that requires no install. Next time I have a clean install of Win 7 64-bit I'll give it another go. 1 Quote Link to comment Share on other sites More sharing options...
AVoltoro Posted February 19, 2013 Author Share Posted February 19, 2013 Thank you for this. Can you give me a shout when this is up and running, I think it might help me out to no end Quote Link to comment Share on other sites More sharing options...
micky2171 Posted July 6, 2014 Share Posted July 6, 2014 I am getting an error when trying to run my game, it just says "Could not locate default.bas.bin and could not recompile. Please check to make sure it was compiled correctly" Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted July 6, 2014 Share Posted July 6, 2014 I am getting an error when trying to run my game, it just says "Could not locate default.bas.bin and could not recompile. Please check to make sure it was compiled correctly" See if this helps: randomterrain.com/atari-2600-memories-batari-basic-vbb.html#troubleshooting Quote Link to comment Share on other sites More sharing options...
micky2171 Posted July 6, 2014 Share Posted July 6, 2014 That problem is fixed, now it just gives me a syntax error? Here is my code: rem Generated 05/07/2014 21:20:53 by Visual bB Version 1.0.0.548 rem ********************************** rem *<filename> * rem *<description> * rem *<author> * rem *<contact info> * rem *<license> * rem ********************************** playfield: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX end COLUBK = $20 COLUPF = $08 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.