Jump to content

.bas vs .asm ROM utilization?


Recommended Posts

With ROM size, being so limited on atari games, I am wondering.

How efficient is bB compared to .asm when it comes to building a binary?

If you were to build the same game in bB and .asm does the basic version utilize a lot more rom space, since it's a higher level language?

Or does the compiler really do a good job, and end up generating about the same raw size as if it were an .asm source file game?



  • Like 1
Link to comment
Share on other sites

Compared to C, bB imposes some restrictions on how you can use your statements in order to better align with how 6502 instructions work, so it would be closer to the final assembly than a less constrained language would be, but of course, doing it in ASM would certainly save a bit more of space. It would certainly be interesting to have some hard data on how big the gains could get.

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...