Jump to content
RevEng

bblint

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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!

  • Like 1

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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]

  • Like 1

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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".

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

  • Like 1

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

  • Like 1

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...