Jump to content
IGNORED

What's eating Bank4?


WizardBone

Recommended Posts

Happy New year!

I been doing alright with Batari Basic, I've reached a point where I can just write code and figure out how things work myself without depending on question and answers. I am proud of myself for that lollll
BUT I have 16k set up which has 4 banks. And I notice the 4th bank slowly gets eaten up by some kinda monster. Whats going on there exactly? Also wondering if you can direct the "monster" to other banks. What happens when bank 4 is used up and i wanna add more sprites, is that the end of the line? I'm coming close. A link to document explaining would be cool if you feel lazy : )

Edited by WizardBone
Link to comment
Share on other sites

randomterrain.com/atari-2600-memories-batari-basic-commands.html#bankswitching

You do not need to specify where sprite graphics go, as they all will be automatically placed in the last bank no matter where you define them (you can just leave all of your animation frames in the same bank that contains your main loop). Also, the kernel will always be placed in the last bank. Typically, bB modules and functions will as well.
Link to comment
Share on other sites

  • 4 weeks later...

If you ever absolutely need more graphics you can use RevEngs multi kernel framework:

http://atariage.com/forums/topic/221100-bb-256k-128k-64k-32k-multikernel-frameworks/

 

The restriction here is that each 4k is a complete game onto itself - meaning code and graphics share each 4k. Using the normal kernel there is more room for code in every bank but the last.

 

Of course, sprites from one bank aren't valid in another with the multi kernel framework. So, you either have to duplicate sprites or segregate each 4k into game modes that will never have to use sprites outside the bank. Say, have the first bank be the overworld with forest animals while the second bank is the dungeon with ghosts.

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.

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