Jump to content
Sign in to follow this  
bjbest60

Freeing up RAM in DPC+

Recommended Posts

Hello everyone,

 

I'm relatively new to bB, but am developing a DPC+ game. Upon compiling, my free RAM is 0, and any additional work with variables is halted because of this. My code is messy, but contains a procedurally generated playfield and nine sprites. I haven't yet used all the variables a-z. (I'm up to about q right now.)

 

Are there general practices that would help free up RAM, such as fewer variables, fewer sprites, etc.? I'm just not sure what I can free up in the standard RAM (and perhaps push into the stack?).

 

Thanks very much for any advice!

Share this post


Link to post
Share on other sites

I'd utterly misidentified the issue. The error arose from "Unable to open '2600basic_variable_redefs.h'", which was due to bad code on my end. Sorry for the post. Thanks.

  • Like 1

Share this post


Link to post
Share on other sites

my free RAM is also 0, was that not the issue? My game has started to freeze randomly and sometimes resets to the titlescreen, I have no idea what's going on, but when I press the tilde key the word ram appears many times? :P

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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...