Jump to content

Photo

bblint


51 replies to this topic

#26 RevEng ONLINE  

RevEng

    River Patroller

  • Topic Starter
  • 4,563 posts
  • Bitnik
  • Location:Canada

Posted Thu Mar 14, 2013 3:22 PM

The first post is updated with a new bug-fix version. lives being a command and a variable in bB threw off the previous code.

#27 Cybearg OFFLINE  

Cybearg

    Dragonstomper

  • 950 posts

Posted Thu Mar 14, 2013 5:32 PM

The first post is updated with a new bug-fix version. lives being a command and a variable in bB threw off the previous code.

It's great to see continued development on bB tools. Thank you!

#28 Gemintronic OFFLINE  

Gemintronic

    Jason S. - Lead Developer & CEO

  • 8,821 posts

Posted Tue Mar 19, 2013 7:52 AM

I think bblint still doesn't like lives: .. end

This code fails bblint but compiles just fine:

dim lives_centered = 1
 dim lives_compact = 1

 lifecolor = $aa
 lives = 224

  lives:
  %11111111
  %10000001
  %11111111
  %10000001
  %10000001
  %10000001
  %11111111
  %11111111
end

LOOP
 drawscreen
 goto LOOP


 inline 6lives.asm

I've got bblint.win32.exe in the same folder as 2600basic.exe

#29 RevEng ONLINE  

RevEng

    River Patroller

  • Topic Starter
  • 4,563 posts
  • Bitnik
  • Location:Canada

Posted Tue Mar 19, 2013 8:03 AM

Thanks, I'll check it out. Probably a bug in the last bugfix. :|

#30 Gemintronic OFFLINE  

Gemintronic

    Jason S. - Lead Developer & CEO

  • 8,821 posts

Posted Tue Mar 19, 2013 8:22 AM

Also, thanks for bblint. As with most ubiquitous boons we don't notice it until something unexpected happens :)

#31 RevEng ONLINE  

RevEng

    River Patroller

  • Topic Starter
  • 4,563 posts
  • Bitnik
  • Location:Canada

Posted Tue Mar 19, 2013 9:03 AM

You're welcome.

I think I've got it straight now. Try this one out, and if you don't run into problems I'll move it to the first post and make it official.

[removed]

#32 Gemintronic OFFLINE  

Gemintronic

    Jason S. - Lead Developer & CEO

  • 8,821 posts

Posted Tue Mar 19, 2013 9:08 AM

You're welcome.

I think I've got it straight now. Try this one out, and if you don't run into problems I'll move it to the first post and make it official.



Tested with bogaxs 6lives.asm demo and Cybeargs DPC+ omega.bas without issue!

#33 RevEng ONLINE  

RevEng

    River Patroller

  • Topic Starter
  • 4,563 posts
  • Bitnik
  • Location:Canada

Posted Tue Mar 19, 2013 9:51 AM

Thanks for confirming.

The first post now has the new 0.8 version.

#34 STGraves OFFLINE  

STGraves

    Moonsweeper

  • 270 posts

Posted Tue Jun 16, 2015 4:40 PM

How do I use it with Ubuntu, I can't run it through the terminal.



#35 RevEng ONLINE  

RevEng

    River Patroller

  • Topic Starter
  • 4,563 posts
  • Bitnik
  • Location:Canada

Posted Wed Jun 17, 2015 8:47 PM

Does it give an error?

It looks like I built it as a 64-bit binary, so maybe you're running 32-bit? If you have development tools installed, try changing to the bblint source directory and typing "make".

#36 STGraves OFFLINE  

STGraves

    Moonsweeper

  • 270 posts

Posted Sat Jun 20, 2015 12:59 PM

yes I'm using 32 bit



#37 RevEng ONLINE  

RevEng

    River Patroller

  • Topic Starter
  • 4,563 posts
  • Bitnik
  • Location:Canada

Posted Sat Jun 20, 2015 2:22 PM

I updated the version in the first post so the Linux binary is 32-bit. Give that a shot.

#38 STGraves OFFLINE  

STGraves

    Moonsweeper

  • 270 posts

Posted Sat Jun 20, 2015 3:16 PM

Emmm, how can I run it? I asume it runs in the terminal but how?



#39 RevEng ONLINE  

RevEng

    River Patroller

  • Topic Starter
  • 4,563 posts
  • Bitnik
  • Location:Canada

Posted Sat Jun 20, 2015 3:38 PM

Assuming it's in the same directory as your basic file, use: ./bblint myprog.bas

#40 STGraves OFFLINE  

STGraves

    Moonsweeper

  • 270 posts

Posted Sat Jun 20, 2015 4:29 PM

Ahhhh so it's bblint only, not the rest of the name



#41 STGraves OFFLINE  

STGraves

    Moonsweeper

  • 270 posts

Posted Sat Jun 20, 2015 4:30 PM

Hooray, I got it to work.



#42 RevEng ONLINE  

RevEng

    River Patroller

  • Topic Starter
  • 4,563 posts
  • Bitnik
  • Location:Canada

Posted Mon Jul 27, 2015 4:01 PM

The first post now has the new 0.10 version.

There was an issue with "end" statements containing extra white-space that wasn't correctly handled, which is now fixed.

#43 wallaby OFFLINE  

wallaby

    Chopper Commander

  • 100 posts

Posted Thu Sep 8, 2016 6:23 AM

bblint doesn't like ASM in macros

 

 macro test
 asm
 <asm code>
end
end

 

Gets an error: missing matching end to " test "

 

The code compiles fine though.



#44 RevEng ONLINE  

RevEng

    River Patroller

  • Topic Starter
  • 4,563 posts
  • Bitnik
  • Location:Canada

Posted Thu Sep 8, 2016 7:26 AM

Thanks for the report. When I get a chance I'll post a fix.

#45 RevEng ONLINE  

RevEng

    River Patroller

  • Topic Starter
  • 4,563 posts
  • Bitnik
  • Location:Canada

Posted Thu Sep 8, 2016 5:34 PM

The first post now has the new 0.11 version.

Statements that use "end" aren't typically nested in bB, but can be in "macro". I added an exception to the check for it.

#46 wallaby OFFLINE  

wallaby

    Chopper Commander

  • 100 posts

Posted Thu Sep 8, 2016 5:53 PM

Thanks! Works great now.



#47 RevEng ONLINE  

RevEng

    River Patroller

  • Topic Starter
  • 4,563 posts
  • Bitnik
  • Location:Canada

Posted Thu Sep 8, 2016 5:54 PM

You're welcome!

#48 MissCommand OFFLINE  

MissCommand

    Space Invader

  • 22 posts

Posted Tue Jun 27, 2017 2:43 PM

I don't know if this is related, but...

 

I am compilng my Batari DPC+ game in VisualBb... and I find I get the following error:

 

Compiling C:\Users\David\bBExamples\Exam1\mall4_Round1.bas
[6/27/2017 4:31:55 PM] bblint found the following errors in mall4_Round1.bas
warning(): Found 23 commands that use end,  and 24 "end" commands.
 
It is coming from the following line: 
 
player2-5color:
 
It will go on to finish compiling and seems to run okay. I can do separate playercolors for each sprite,
but I do like the space saving aspect of doing them together (and the documentation says I can). 
 
  Is there something I am missing? Is there a way to get rid of the error? I did try removing the "end"
at the end of the playcolor above, but of course, it does need it.
 
Thanks!


#49 MissCommand OFFLINE  

MissCommand

    Space Invader

  • 22 posts

Posted Tue Jun 27, 2017 2:50 PM

BTW, I am using VisualbB Build 568. Not sure of the batari version but 1.0 (downloaded and installed May 2017)



#50 RevEng ONLINE  

RevEng

    River Patroller

  • Topic Starter
  • 4,563 posts
  • Bitnik
  • Location:Canada

Posted Tue Jun 27, 2017 3:13 PM

Are you using the bblint from the first post in this thread? The player#-# statements were added a while back.

If you are using the latest, please PM me the source and I can take a look.

If it's holding you up, you can always just delete bblint from the vbb directory. vbb only uses it when it finds it.




0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users