Jump to content



10

Visual bB 1.0 - a new IDE for batari Basic


547 replies to this topic

#151 danextcoder OFFLINE  

danextcoder

    Combat Commando

  • 9 posts

Posted Wed Mar 25, 2009 11:04 PM

Yeah that's what I meant. Nice to know it's possible. I always wonder why I'm usually the first one to request this feature in every new IDE or programming environment.

#152 yuppicide OFFLINE  

yuppicide

    I am the Black Knight. Give me your money!

  • 6,933 posts
  • Location:New Jersey

Posted Fri Apr 10, 2009 8:21 AM

Is something wrong with my setup somewhere? When I compile I get this:

Compile started at 4/10/2009 10:05:52 AM
Compiling C:\atari\bb\samples\blockedin_v112.bas
2600 Basic compilation completed.
DASM V2.20.07, Macro Assembler (C)1988-2003
	  bytes of ROM space left in bank 1
	  bytes of ROM space left in bank 2
	  999 bytes of ROM space left in bank 1
	  2263 bytes of ROM space left in bank 2
	  999 bytes of ROM space left in bank 1
	  2263 bytes of ROM space left in bank 2
Compilation completed at 4/10/2009 10:05:54 AM
view output file:///C:/atari/bb/samples/bin
Post compilation files deleted

Notice it looks like it's compiling 3 times?

#153 SeaGtGruff OFFLINE  

SeaGtGruff

    River Patroller

  • 4,543 posts
  • Location:Georgia, USA

Posted Fri Apr 10, 2009 9:12 AM

View Postyuppicide, on Fri Apr 10, 2009 9:21 AM, said:

Notice it looks like it's compiling 3 times?
That's because DASM is a multi-pass assembler, and it needed to make three passes through the code before it was able to resolve everything. The "bytes of ROM space left" messages will be output each time DASM processes the section of code where they appear. So there's nothing wrong with your setup. It would be nice if there were a way to tell DASM not to output those messages until it's making its last pass through the code, but there isn't, because DASM doesn't know ahead of time when it's making its last pass.

Michael

#154 yuppicide OFFLINE  

yuppicide

    I am the Black Knight. Give me your money!

  • 6,933 posts
  • Location:New Jersey

Posted Sun Apr 12, 2009 9:46 PM

Thanks for the clarification.

View PostSeaGtGruff, on Fri Apr 10, 2009 11:12 AM, said:

View Postyuppicide, on Fri Apr 10, 2009 9:21 AM, said:

Notice it looks like it's compiling 3 times?
That's because DASM is a multi-pass assembler, and it needed to make three passes through the code before it was able to resolve everything. The "bytes of ROM space left" messages will be output each time DASM processes the section of code where they appear. So there's nothing wrong with your setup. It would be nice if there were a way to tell DASM not to output those messages until it's making its last pass through the code, but there isn't, because DASM doesn't know ahead of time when it's making its last pass.

Michael


#155 yuppicide OFFLINE  

yuppicide

    I am the Black Knight. Give me your money!

  • 6,933 posts
  • Location:New Jersey

Posted Tue Apr 14, 2009 9:22 PM

Feature request for VbB.. it pertained to RT's Command Reference page, but your software also, see this thread:

http://www.atariage....howtopic=142491

#156 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 20,910 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Tue Apr 14, 2009 9:28 PM

View Postyuppicide, on Tue Apr 14, 2009 11:22 PM, said:

Feature request for VbB.. it pertained to RT's Command Reference page, but your software also, see this thread:

http://www.atariage....howtopic=142491
When you bring up the TIA color chart and hover your mouse over a color, it shows the hex and decimal numbers.

Example:

$B6/182

#157 yuppicide OFFLINE  

yuppicide

    I am the Black Knight. Give me your money!

  • 6,933 posts
  • Location:New Jersey

Posted Wed Apr 15, 2009 6:51 AM

Yeah, sorry, I wasn't hovering. I was just clicking and looking up top where it only shows 84.

#158 jwierer OFFLINE  

jwierer

    Dragonstomper

  • 746 posts
  • Location:Seattle,WA

Posted Wed Apr 15, 2009 8:48 AM

View Postyuppicide, on Wed Apr 15, 2009 7:51 AM, said:

Yeah, sorry, I wasn't hovering. I was just clicking and looking up top where it only shows 84.
Putting a "$" in there should be an easy update.

-Jeff

#159 yuppicide OFFLINE  

yuppicide

    I am the Black Knight. Give me your money!

  • 6,933 posts
  • Location:New Jersey

Posted Mon May 4, 2009 6:48 PM

I have syntax checking off.

I have a game using 8k. It's got 402 bytes left in bank 1, and 2615 bytes left in bank 2. It's got some inline ASM.

When I add something to the program vBB says:

"; is a duplicate label definition."

yet, it'll compile and run fine.

Is this something wrong I am doing?

I'm using build 544 at home. Honestly I keep it around because it works and I'm afraid to upgrade.

#160 SeaGtGruff OFFLINE  

SeaGtGruff

    River Patroller

  • 4,543 posts
  • Location:Georgia, USA

Posted Mon May 4, 2009 8:22 PM

View Postyuppicide, on Mon May 4, 2009 8:48 PM, said:

When I add something to the program vBB says:

"; is a duplicate label definition."
It might be the comments in my inline assembly-- the four lines that start with ";" in column 1. Try adding a space at the beginning of those four lines, right in front of the ; and see if that helps.

Michael

#161 jwierer OFFLINE  

jwierer

    Dragonstomper

  • 746 posts
  • Location:Seattle,WA

Posted Mon May 4, 2009 10:22 PM

View Postyuppicide, on Mon May 4, 2009 8:48 PM, said:

I have syntax checking off.

I have a game using 8k. It's got 402 bytes left in bank 1, and 2615 bytes left in bank 2. It's got some inline ASM.

When I add something to the program vBB says:

"; is a duplicate label definition."

yet, it'll compile and run fine.

Is this something wrong I am doing?

I'm using build 544 at home. Honestly I keep it around because it works and I'm afraid to upgrade.
VbB assumes that if you don't indent, and it's not a reserved term like end, then it is a label. If you use ";" twice then it will warn of a duplicate label which isn't allowed in bB. As suggested, just put in a space and you'll be fine.

-Jeff

#162 yuppicide OFFLINE  

yuppicide

    I am the Black Knight. Give me your money!

  • 6,933 posts
  • Location:New Jersey

Posted Tue May 5, 2009 4:28 PM

Yep. The space had cleared the issue. Forgot to come back and say something.

#163 yuppicide OFFLINE  

yuppicide

    I am the Black Knight. Give me your money!

  • 6,933 posts
  • Location:New Jersey

Posted Fri May 8, 2009 10:33 AM

Guess I'm going to have to upgrade. It seems between the two idiots who live in the same house as me, one of them got a virus yesterday. I just finished reformatting the computer and installing everything fresh including updates. I'm nervous because I need to get all the updated bB fixes too.

Someone should go about themselves to make an automatic installer. Licenses aside.. just include everything into one package that does it all.. adds enviroment variables, adds fixes, etc.

Edited by yuppicide, Fri May 8, 2009 10:34 AM.


#164 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 20,910 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Fri May 8, 2009 10:39 AM

View Postyuppicide, on Fri May 8, 2009 11:33 AM, said:

. . . adds environment variables . . .
At least VbB can do that part for you:

http://www.randomter...etaddbbvariable

#165 h0trod OFFLINE  

h0trod

    Combat Commando

  • 3 posts

Posted Thu May 21, 2009 4:02 AM

I am also having the problem where file.bas.bin is not found when I try to run.

My compiles _do_ complete (according to the output pane), but the only thing generated appears to be a zero-byte "output.txt" file -- no bin.

Compiling on the command line (2600bas file.bas) works fine, and does successfully create a bin.

I am using XP and my account has administrator privileges. Any ideas?

#166 jwierer OFFLINE  

jwierer

    Dragonstomper

  • 746 posts
  • Location:Seattle,WA

Posted Thu May 21, 2009 8:28 AM

View Posth0trod, on Thu May 21, 2009 6:02 AM, said:

I am also having the problem where file.bas.bin is not found when I try to run.

My compiles _do_ complete (according to the output pane), but the only thing generated appears to be a zero-byte "output.txt" file -- no bin.

Compiling on the command line (2600bas file.bas) works fine, and does successfully create a bin.

I am using XP and my account has administrator privileges. Any ideas?
What build of VbB are you using? In older builds sometimes the bin was there just not in the \bin folder.

-Jeff

#167 h0trod OFFLINE  

h0trod

    Combat Commando

  • 3 posts

Posted Thu May 21, 2009 1:36 PM

View Postjwierer, on Thu May 21, 2009 10:28 AM, said:

View Posth0trod, on Thu May 21, 2009 6:02 AM, said:

I am also having the problem where file.bas.bin is not found when I try to run.

My compiles _do_ complete (according to the output pane), but the only thing generated appears to be a zero-byte "output.txt" file -- no bin.

Compiling on the command line (2600bas file.bas) works fine, and does successfully create a bin.

I am using XP and my account has administrator privileges. Any ideas?
What build of VbB are you using? In older builds sometimes the bin was there just not in the \bin folder.

-Jeff

I am using build 544. I am pretty sure the bin is not being created, as I did a system wide search for file.bas.bin without finding it. The zero-byte output.txt also seems fishy.

#168 jwierer OFFLINE  

jwierer

    Dragonstomper

  • 746 posts
  • Location:Seattle,WA

Posted Thu May 21, 2009 6:51 PM

View Posth0trod, on Thu May 21, 2009 3:36 PM, said:

I am using build 544. I am pretty sure the bin is not being created, as I did a system wide search for file.bas.bin without finding it. The zero-byte output.txt also seems fishy.
Can you post the contents of the message window? If you are seeing a blank output.txt then that means the batch file 2600bas.bat is not returning anything. the two most common reasons for that I have seen is that 2600bas.bat is in a file directory tree with a space in the name or the source file .bas is in a directory tree with a space. VisualbB does encapsulate names in quotes to handle this, but I am not sure the batch file you are using will do the same so the safest is to try with directory names without spaces.

-Jeff

#169 potatohead OFFLINE  

potatohead

    River Patroller

  • 3,655 posts
  • Location:Portland, Oregon

Posted Fri May 29, 2009 10:58 PM

I just setup a project with this.

NICE JOB!!

This is really, really great compared to the stones and chisels I used first time around.

:D

Now off to see if Ooze! still builds!

Edited by potatohead, Fri May 29, 2009 10:59 PM.


#170 yuppicide OFFLINE  

yuppicide

    I am the Black Knight. Give me your money!

  • 6,933 posts
  • Location:New Jersey

Posted Sun Jun 7, 2009 11:56 AM

Found a small bug in 1.0v544.

This is the first time I'm really getting back into bB programming and my first or second real time taking a look at v544.

I don't like how small the font is. I liked whatever I had in the old version. I set out to find something I was happy with.

Went into Setup. Chose a new font. Didn't like it. Tried a bigger font size. Didn't like it. Tried it in bold. Didn't like it.

Now no matter what I do the little checkbox shows bold even thought it's not using bold.

Having said that does anyone know what 536 and earlier's font and size was?

Edited by yuppicide, Sun Jun 7, 2009 11:59 AM.


#171 SeaGtGruff OFFLINE  

SeaGtGruff

    River Patroller

  • 4,543 posts
  • Location:Georgia, USA

Posted Sun Jun 7, 2009 12:06 PM

View Postyuppicide, on Sun Jun 7, 2009 1:56 PM, said:

does anyone know what 536 and earlier's font and size was?
I have 536. When I go to the Settings it says the current font is Courier New, size 9.75, bold is off.

Michael

#172 yuppicide OFFLINE  

yuppicide

    I am the Black Knight. Give me your money!

  • 6,933 posts
  • Location:New Jersey

Posted Mon Jun 8, 2009 8:33 PM

Yeah, thanks. I should say my eyes thank you. I like Courier New in here. I've really become used to Calibri. It comes as the standard font in Word 2007.

#173 SeaGtGruff OFFLINE  

SeaGtGruff

    River Patroller

  • 4,543 posts
  • Location:Georgia, USA

Posted Mon Jun 8, 2009 9:07 PM

View Postyuppicide, on Mon Jun 8, 2009 9:33 PM, said:

Yeah, thanks. I should say my eyes thank you. I like Courier New in here. I've really become used to Calibri. It comes as the standard font in Word 2007.
In Crimson Editor I'm using Terminal font, size 10. It's a fixed-spacing font, so everything lines up nicely, but it looks like it's bold, so it's easier to read.

Michael

#174 yuppicide OFFLINE  

yuppicide

    I am the Black Knight. Give me your money!

  • 6,933 posts
  • Location:New Jersey

Posted Thu Jun 11, 2009 8:45 PM

Woo-hoo! I finally figured out how to get in and actually use the Sprite Editor after like a year of trying and not getting anywhere. Yes it's taken me that long because I keep getting frustrated and not trying.

The reason was is because I don't use that Project Explorer thing and don't even have it open.

EDIT: Figured out how to resize player.. awesome.

Edited by yuppicide, Thu Jun 11, 2009 8:48 PM.


#175 yuppicide OFFLINE  

yuppicide

    I am the Black Knight. Give me your money!

  • 6,933 posts
  • Location:New Jersey

Posted Sat Jun 13, 2009 3:18 AM

How about this.. I'm in the player sprite designer.. let's say the player sprite is 80 tall, which requires me to scroll up and down to draw it all since it won't fit on my monitor.

How about making that window two separate things. On the left is where you draw the sprite. On the right is the preview. When you scroll down make the preview stay on screen so I can see it while I am drawing.

Next, when I am drawing my sprite and let's say I have scrolled down, but then let's say I switch to something else like the internet for example.. when I come back to my sprite it starts me all the way at the top again. What I'd like for it is to not do that and stay where I had left off working. This way I can switch out of VBB to visit the internet and look at something for what I am drawing in game. Then I can switch back and continue drawing.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users