Jump to content
IGNORED

bB 256k, 128k, 64k, 32k, 16k, Multikernel Frameworks


RevEng

Recommended Posts

1 hour ago, Karl G said:

I don't understand the concern with RAM. It could be initialized in the startup bank like normal. I don't see how using a multikernel framework would create more issues. 

 

Since each 4k is its own compiled game you have to tell the special score_graphics.asm what bank to completely switch to.  So, once you switch over it's like starting a new cart except with the RAM in a used state.  Or, at least the random state that real hardware can power on with.

 

So, you need a jump table and a variable (I feel a superjump variable is a good name *shrugs*) to make the jump manageable.  But, you also have to safeguard against unintended changes / states in that superjump variable.  Maybe?  My brain not so good at the logistics.

 

If you immediately clear the vars on boot in bank1 then when you jump back to it.. it'll clear that superjump var again.  Your jump mangement code now thinks it should help you jump to the first bank.. where the init code clears vars..  my head!

 

Debugging might be fun too if that superjump var gets randomized by the state of RAM on cold boot.  Or, my super secure cleanroom agile kanban code makes an oopsie and sets the superjump var wrong.

Link to comment
Share on other sites

I think what he is getting it, is that you can have one kernel be the master, which clears the RAM.  Then it uses one byte in RAM as the "level number" and you simply do not clear RAM again and manage it properly in the other kernels.

  • Like 1
  • Thanks 1
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...