jbs30000 Posted May 10, 2008 Share Posted May 10, 2008 I know that the reason that the playscreen is in ROM was to free up RAM for player2-5 x and y positions, COLUP, NUSIZ, and other values. But after all that, are there any RAM locations that aren't used? I know that there are the temp variables, but I want, if possible, something more permanent. I noticed in the memory map here http://www.randomterrain.com/atari-2600-me...html#memorymaps $FA-FF aren't labeled. Are they stack variables also, or are those free to use? Thank you. Quote Link to comment Share on other sites More sharing options...
+batari Posted May 10, 2008 Share Posted May 10, 2008 I know that the reason that the playscreen is in ROM was to free up RAM for player2-5 x and y positions, COLUP, NUSIZ, and other values. But after all that, are there any RAM locations that aren't used? I know that there are the temp variables, but I want, if possible, something more permanent. I noticed in the memory map here http://www.randomterrain.com/atari-2600-me...html#memorymaps $FA-FF aren't labeled. Are they stack variables also, or are those free to use? Thank you. "playfieldpos" ($C3) is not currently in use, but it is reserved for future use (will be used for vertical scrolling if I get around to implementing it.) If you plan to use the existing kernel, you can use it, however. $FA-$FF are reserved for the stack. I wouldn't use them unless you know what you are doing. Quote Link to comment Share on other sites More sharing options...
jbs30000 Posted May 10, 2008 Author Share Posted May 10, 2008 Ok, I figured that they were probably used for the stack. I'm glad that there is an extra variable I can use though. Thank you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.