Visual bB 1.0 - a new IDE for batari Basic
Started by jwierer, Apr 5 2008 6:19 PM
531 replies to this topic
#51
Posted Sun Apr 27, 2008 8:55 AM
Did you save your .bas file before compiling? You don't have "Save open files before compiling" checked in your settings.
#52
Posted Sun Apr 27, 2008 10:20 AM
jwierer, on Sun Apr 27, 2008 10:48 AM, said:
As far as I can tell it's just a problem with your code. Technically it will compile, but it's not going to show anything for a multisprite kernel.
Michael
#53
Posted Sun Apr 27, 2008 12:05 PM
Random Terrain, on Sun Apr 27, 2008 3:48 AM, said:
Have you tried closing VbB and restarting it? The only problem I've had that is similar to this is when I screw up the code of a program with some silly mistake and the bin file can't be found because it didn't compile. If you try it with a .bas file that is error-free that you know is working properly and you still get the error, I don't know what to tell you. If all paths are correct, your program has no errors, and you have that .NET Framework 3.0 stuff on your computer, it should be working.
jwierer, on Sun Apr 27, 2008 8:48 AM, said:
As far as I can tell it's just a problem with your code. Technically it will compile, but it's not going to show anything for a multisprite kernel. This is what I think you want to accomplish.
jwierer, on Sun Apr 27, 2008 8:48 AM, said:
BTW if compilation succeeds it will tell you in the message area on the bottom. From your screenshot I can only see it's started. BTW no need to put quotes around path, I handle that internally. Also since you know Qbert compiles you can create new project and copy the code into a .bas file. If you right click on the .bas file from the explorer you can generate items and it will create all the sprites and playfields that are in the code so you don't have to recreate them from scratch.
Impaler_26, on Sun Apr 27, 2008 8:55 AM, said:
Did you save your .bas file before compiling? You don't have "Save open files before compiling" checked in your settings.
SeaGtGruff, on Sun Apr 27, 2008 10:20 AM, said:
jwierer, on Sun Apr 27, 2008 10:48 AM, said:
As far as I can tell it's just a problem with your code. Technically it will compile, but it's not going to show anything for a multisprite kernel.
Michael
#54
Posted Sun Apr 27, 2008 12:21 PM
jbs30000, on Sun Apr 27, 2008 2:05 PM, said:
Yeah, like I said, it's funny that I'm writing a program using the multisprite kernel and know it's only 16 bits across but failed to miss my mistake here. Anyway, fixing the code doesn't work either.
double_click_draw_2008y_03m_22d_1100.bas 10.71K
116 downloadsIf you download that and try to run it in VbB, do you still get an error?
#55
Posted Sun Apr 27, 2008 12:51 PM
Still can't find the binary. I'm not even sure it creates one.
Just curious, why does Crimson Editor you have use 2600bas.bat, but the instructions for the visual IDE have you point to 2600basic.exe directly?
Just curious, why does Crimson Editor you have use 2600bas.bat, but the instructions for the visual IDE have you point to 2600basic.exe directly?
#56
Posted Sun Apr 27, 2008 1:40 PM
jbs30000, on Sun Apr 27, 2008 2:51 PM, said:
Still can't find the binary. I'm not even sure it creates one.
Just curious, why does Crimson Editor you have use 2600bas.bat, but the instructions for the visual IDE have you point to 2600basic.exe directly?
Just curious, why does Crimson Editor you have use 2600bas.bat, but the instructions for the visual IDE have you point to 2600basic.exe directly?
If you just call the .bat file you can't grab all the error messages. VbB effectively does what the bat file does but checks the outputs for errors after each step. This was the best way I could figure out where the error occured. The only thing I can think of is you have some permissions issue preventing it from calling the executable. I can't see the output from your so I can't see what it's returning to you. From the Window it looks like XP? If it were Vista I would have suggested trying running as administrator. In your folder where you have 2600basic.exe do you have all the other files? 2600basic.exe won't be enough alone.
This is the contents of my bb folder
Directory of F:\Emulation\VisualbB\bB
04/27/2008 12:39 PM <DIR> .
04/27/2008 12:39 PM <DIR> ..
03/27/2008 11:01 PM <DIR> includes
04/27/2008 07:57 AM <DIR> manual
03/09/2008 10:11 PM <DIR> samples
03/09/2008 02:58 PM <DIR> sed
03/09/2008 02:58 PM <DIR> source
02/09/2007 01:32 AM 1,448 2600bas.bat
05/26/2007 10:01 PM 152,251 2600basic.exe
02/14/2007 04:16 AM 148,927 2600basic1.0.exe
07/16/2003 12:03 AM 114,688 dasm.exe
02/14/2007 04:03 AM 1,594 license.txt
02/14/2007 04:16 AM 91,396 optimize.exe
02/14/2007 04:16 AM 93,933 postprocess.exe
02/14/2007 04:16 AM 94,719 preprocess.exe
02/14/2007 04:03 AM 16,218 README.txt
04/20/2008 02:50 AM 2,118 scoreformats.zip
04/14/2003 01:00 AM 49,152 sed.exe
03/27/2008 11:00 PM 80,097 updated_2600basic.zip
13 File(s) 846,541 bytes
7 Dir(s) 26,970,464,256 bytes free
#57
Posted Sun Apr 27, 2008 1:43 PM
jbs30000, on Sun Apr 27, 2008 2:51 PM, said:
Still can't find the binary. I'm not even sure it creates one.
Just curious, why does Crimson Editor you have use 2600bas.bat, but the instructions for the visual IDE have you point to 2600basic.exe directly?
Just curious, why does Crimson Editor you have use 2600bas.bat, but the instructions for the visual IDE have you point to 2600basic.exe directly?
If there was a bin you would see a sub folder "bin". I wonder if you don't have write permissions to create the sub folder? I am not sure it checks for that.
-Jeff
#58
Posted Sun Apr 27, 2008 2:09 PM
Yes, I'm running XP pro and I have full administrator rights.
Directory of C:\Program Files\Atari2600\bB
03/27/2008 09:54 PM <DIR> .
03/27/2008 09:54 PM <DIR> ..
02/09/2007 01:32 AM 1,448 2600bas.bat
05/26/2007 10:01 PM 152,251 2600basic.exe
04/27/2008 01:02 PM 231 2600basic_variable_redefs.h
04/27/2008 01:02 PM 28,293 bB.asm
07/16/2003 12:03 AM 114,688 dasm.exe
04/20/2008 10:07 PM <DIR> includes
04/27/2008 01:02 PM 148 includes.bB
02/14/2007 04:03 AM 1,594 license.txt
03/27/2008 09:25 PM <DIR> manual
02/14/2007 04:16 AM 91,396 optimize.exe
02/14/2007 04:16 AM 93,933 postprocess.exe
02/14/2007 04:16 AM 94,719 preprocess.exe
02/14/2007 04:03 AM 16,218 README.txt
04/27/2008 01:02 PM <DIR> samples
03/27/2008 09:25 PM <DIR> sed
04/14/2003 01:00 AM 49,152 sed.exe
03/27/2008 09:25 PM <DIR> source
12 File(s) 644,071 bytes
7 Dir(s) 118,129,889,280 bytes free
Here is the contents of the folder holding my test program
Directory of C:\Program Files\Atari2600\bB\samples\VbB Project 1\New Project
04/26/2008 04:09 PM <DIR> .
04/26/2008 04:09 PM <DIR> ..
04/27/2008 11:45 AM 10,966 default.bas
04/26/2008 06:32 PM 403 default.pla
04/26/2008 04:09 PM 126 default.spr
3 File(s) 11,495 bytes
2 Dir(s) 118,129,819,648 bytes free
#59
Posted Sun Apr 27, 2008 6:29 PM
jbs30000, on Sun Apr 27, 2008 4:09 PM, said:
Yes, I'm running XP pro and I have full administrator rights.
I recreated your directory structure just to make sure and items compile fine. I'm not sure what's going on in your case. I may try it on my XP machine and see if it works differently.
Sorry,
Jeff
#60
Posted Sun Apr 27, 2008 6:41 PM
jwierer, on Sun Apr 27, 2008 6:29 PM, said:
jbs30000, on Sun Apr 27, 2008 4:09 PM, said:
Yes, I'm running XP pro and I have full administrator rights.
I recreated your directory structure just to make sure and items compile fine. I'm not sure what's going on in your case. I may try it on my XP machine and see if it works differently.
Sorry,
Jeff
#61
Posted Mon Apr 28, 2008 7:02 AM
It may sound stupid, but if I create a new project and like to edit the BAS file my font size is HUGE. I mean really HUGE 
How can I resize it?
How can I resize it?
#62
Posted Mon Apr 28, 2008 8:00 AM
Nognir, on Mon Apr 28, 2008 9:02 AM, said:
It may sound stupid, but if I create a new project and like to edit the BAS file my font size is HUGE. I mean really HUGE 
How can I resize it?
How can I resize it?
#63
Posted Mon Apr 28, 2008 12:06 PM
yeah like I said: it may sound stupid...
Got it now thanks
Got it now thanks
#64
Posted Tue May 6, 2008 9:03 PM
This prompted me to take another look at bB. It's a good start! I tried putting the contents of the Stella, bB and VisualbB into a folder called C:\VBB. Next, I had to move sed.exe into the main VBB directory. Emulator field is C:\VBB\Stella.exe and bB compiler field is C:\VBB\Stella.exe The Add bB Environment Variable and Add bB Compiler to system Path check boxes are checked (although I didn't realize they had to be until I tried to compile once or twice). So far no luck on successfully compiling anything in the sample folder from bB. If I use the Project Wizard I am able to cut and paste the examples though. I can settle with that. This is not a cry for help or a complaint - just a bit of insight into the end-user experience 
Interestingly, if I make sed.exe unavailable (take it out of the C:\VBB folder) and try to compile, VbB locks. I am running XP SP2.
Again, congrats on a good start! Now the simple folk stumble over user interface and value checking gaffs ^_^
Interestingly, if I make sed.exe unavailable (take it out of the C:\VBB folder) and try to compile, VbB locks. I am running XP SP2.
Again, congrats on a good start! Now the simple folk stumble over user interface and value checking gaffs ^_^
#65
Posted Tue May 6, 2008 10:00 PM
theloon, on Tue May 6, 2008 11:03 PM, said:
This prompted me to take another look at bB. It's a good start! I tried putting the contents of the Stella, bB and VisualbB into a folder called C:\VBB. Next, I had to move sed.exe into the main VBB directory. Emulator field is C:\VBB\Stella.exe and bB compiler field is C:\VBB\Stella.exe The Add bB Environment Variable and Add bB Compiler to system Path check boxes are checked (although I didn't realize they had to be until I tried to compile once or twice). So far no luck on successfully compiling anything in the sample folder from bB. If I use the Project Wizard I am able to cut and paste the examples though. I can settle with that. This is not a cry for help or a complaint - just a bit of insight into the end-user experience 
Interestingly, if I make sed.exe unavailable (take it out of the C:\VBB folder) and try to compile, VbB locks. I am running XP SP2.
Again, congrats on a good start! Now the simple folk stumble over user interface and value checking gaffs ^_^
Interestingly, if I make sed.exe unavailable (take it out of the C:\VBB folder) and try to compile, VbB locks. I am running XP SP2.
Again, congrats on a good start! Now the simple folk stumble over user interface and value checking gaffs ^_^
You're compiler should point to 2600basic.exe and sed.exe should be in the same folder as 2600basic.exe. The problem really is that batariBasic should already be configured correctly in order for vbB to work (see bB release notes). If you can't compile outside of vbB, it probably won't work in the IDE. One thing it does do is see if the environment variable is pointing to a location where batariBasic is installed. If you already had the environment variable pointing to a different directory bB is probably not going to work and hence you won't be able to compile in vbB either.
-Jeff
#66
Posted Wed May 7, 2008 11:53 AM
Thanks for the feedback! As I stated before, I was able to generate a working/compiling project via the Project Wizard so all is well. I just noticed VbB would lock if the sed.exe wasn't found. It should deal with that more gracefully. However, it may just be my kludged setup that produces this behavior.
What would be nice is an unofficial distribution that includes Stella, bB and Visual bB pre-configured. Debugging everyone's configuration is less productive than debugging the program itself
For that matter, an enthusiast could make a VbB example project called "Northwinds Traitors" where one must battle waves of corrupted Access Server Killbots.
EDITED: For clarification.
What would be nice is an unofficial distribution that includes Stella, bB and Visual bB pre-configured. Debugging everyone's configuration is less productive than debugging the program itself
For that matter, an enthusiast could make a VbB example project called "Northwinds Traitors" where one must battle waves of corrupted Access Server Killbots.
EDITED: For clarification.
Edited by theloon, Wed May 7, 2008 12:04 PM.
#67
Posted Wed May 7, 2008 3:05 PM
theloon, on Wed May 7, 2008 12:53 PM, said:
Thanks for the feedback! As I stated before, I was able to generate a working/compiling project via the Project Wizard so all is well. I just noticed VbB would lock if the sed.exe wasn't found. It should deal with that more gracefully. However, it may just be my kludged setup that produces this behavior.
Thanks,
Jeff
#68
Posted Fri May 16, 2008 10:54 PM
Here's a few changes and bug fixes based on feedback. New build posted to first post
[New] Preview in multi-sprite Kernel
[New] You can now copy entire sprites/playfields (colors, pixels, heights)
[New] When working with a mirrored playfield it assumes you're working with a multi-sprite kernel and only copies half the screen
[New] You can remove items from the recent items list
[New] Added various keywords (step, bank, pop, etc..)
[New] Last browsed folder is persisted so you don't have to always start from the desktop when browsing for projects, items, etc...
[Bug] Checks for pre-requsite compiler/assembler files and fails gracefully if any files are missing
[Bug] Resizing mirrored playfields was not working. Now fixed
[Bug] Playfields can now be set to a height up to 88 pixels high
[Bug] Commenting last line of code caused an EOF crash
A few other small things.
-Jeff
[New] Preview in multi-sprite Kernel
[New] You can now copy entire sprites/playfields (colors, pixels, heights)
[New] When working with a mirrored playfield it assumes you're working with a multi-sprite kernel and only copies half the screen
[New] You can remove items from the recent items list
[New] Added various keywords (step, bank, pop, etc..)
[New] Last browsed folder is persisted so you don't have to always start from the desktop when browsing for projects, items, etc...
[Bug] Checks for pre-requsite compiler/assembler files and fails gracefully if any files are missing
[Bug] Resizing mirrored playfields was not working. Now fixed
[Bug] Playfields can now be set to a height up to 88 pixels high
[Bug] Commenting last line of code caused an EOF crash
A few other small things.
-Jeff
#69
Posted Sat Jun 14, 2008 5:44 PM
Here's a small update with a few bug fixes based on feedback.
New build posted to first post
[Bug] If you tried to do a search and replace, in some cases vbB would hang
[Bug] Tab order for replace form was wrong - this was annoying me
[Bug] on Build 530 The color palette was brokken affecting Choose color is broken, Set Player Color, and Set Background Color
[Bug] Right click on sprite or playfield should sets to. Bascially you don't have to left click on a cell first
[New] The color palette form will be set to the current row color of the sprite/playfield
[New] Playfield, Background, and Player colors are persisted so you don't have to set them everytime you launch vbB
[New] Right click on playfields allows you to chose either the standard or multisprite kernel
Maybe a few other things I forgot.
-Jeff
New build posted to first post
[Bug] If you tried to do a search and replace, in some cases vbB would hang
[Bug] Tab order for replace form was wrong - this was annoying me
[Bug] on Build 530 The color palette was brokken affecting Choose color is broken, Set Player Color, and Set Background Color
[Bug] Right click on sprite or playfield should sets to. Bascially you don't have to left click on a cell first
[New] The color palette form will be set to the current row color of the sprite/playfield
[New] Playfield, Background, and Player colors are persisted so you don't have to set them everytime you launch vbB
[New] Right click on playfields allows you to chose either the standard or multisprite kernel
Maybe a few other things I forgot.
-Jeff
#70
Posted Sat Jun 14, 2008 8:25 PM
Thanks for posting the latest version. I hope all VbB users will download this as soon as possible. VbB is even better than before. For example, when working on a multicolored sprite or playfield, if you want to know the color you used for a row, just right click on that row and the Hex number for the color will show up in the right click menu next to Set Color. Very useful if you want to reuse a color you've already chosen and can't remember what it was.
#71
Posted Wed Jul 30, 2008 7:55 AM
Thanks to whoever pinned this. Much needed!
So, since I haven't read EVERYthing.. does everyone get an error message every time they exit VBB?
So, since I haven't read EVERYthing.. does everyone get an error message every time they exit VBB?
#72
Posted Wed Jul 30, 2008 7:57 AM
yuppicide, on Wed Jul 30, 2008 8:55 AM, said:
Thanks to whoever pinned this. Much needed!
So, since I haven't read EVERYthing.. does everyone get an error message every time they exit VbB?
So, since I haven't read EVERYthing.. does everyone get an error message every time they exit VbB?
#73
#74
Posted Wed Jul 30, 2008 9:15 AM
yuppicide, on Wed Jul 30, 2008 10:08 AM, said:
Mine says:
"InvalidArgument=Value of '0' is not valid for 'index'.
Parameter name: index
Try using regedit to remove HKLM\Software\VisualbB"
and I click OK and it exits fine. This happens after EVERY exit.
"InvalidArgument=Value of '0' is not valid for 'index'.
Parameter name: index
Try using regedit to remove HKLM\Software\VisualbB"
and I click OK and it exits fine. This happens after EVERY exit.
#75
Posted Wed Jul 30, 2008 6:28 PM
yuppicide, on Wed Jul 30, 2008 10:08 AM, said:
Mine says:
"InvalidArgument=Value of '0' is not valid for 'index'.
Parameter name: index
Try using regedit to remove HKLM\Software\VisualbB"
and I click OK and it exits fine. This happens after EVERY exit.
"InvalidArgument=Value of '0' is not valid for 'index'.
Parameter name: index
Try using regedit to remove HKLM\Software\VisualbB"
and I click OK and it exits fine. This happens after EVERY exit.
I wonder if that happens if you have no default projects set? I'll have to check and see if I don't do a check for that. It's a pretty innocuous error, though I could see that being annoying. Given what it says it happens when it's closing and trying to save settings back to the registry.
-Jeff
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users














