Jump to content
IGNORED

sample kernel question


Recommended Posts

So I typed up Andrew Davies sample kernel and after insulting my anti-virus and some typo errors of my own I got it to compile. 

 

Well it runs as shown in the document using z26 no problem, in Stella I got this as the result:

 

kernel.png.f53d031bf0d4b425c25c69ffc61078cd.png did I need to set some defaults for it to display correctly?

Link to comment
Share on other sites

If you entered this, then add CLEAN_START

 

Reset
    CLEAN_START

StartOfFrame

 

When the 2600 is powered on RAM and TIA will be in a random state. CLEAN_START is a macro that will zero out RAM and TIA. You can view the code for CLEAN_START in macro.h.  The lines you're seeing are random bit patterns in the players, missiles, ball, and/or playfield.

 

I think back in 2003 Stella would init everything to zero, but now it'll randomize RAM and TIA if Developer Settings is turned on:

 

223900566_ScreenShot2022-07-26at1_42_58PM.thumb.png.00dcaa2c6c41252d54a75822d1d46df6.png

 

 

And since you are developing leave that turned on as it'll expose bugs that'll occur on some, but not all, 2600s.

  • Like 3
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...