ultima Posted September 27, 2018 Share Posted September 27, 2018 I have been experimenting with SC RAM and can't for the life of me figure out how to assign and change values I tried this first I tried to assign w with "w127=1 " then check it later with "if r127=1 then goto __ModdedHKVP70" for a comparison and that came up short. Am I missing something? Quote Link to comment https://forums.atariage.com/topic/283413-how-do-we-assign-the-extra-wr-sc-ram/ Share on other sites More sharing options...
+Gemintronic Posted September 28, 2018 Share Posted September 28, 2018 I have been experimenting with SC RAM and can't for the life of me figure out how to assign and change values I tried this first I tried to assign w with "w127=1 " then check it later with "if r127=1 then goto __ModdedHKVP70" for a comparison and that came up short. Am I missing something? No idea without seeing your actual code. But, re-reading Random Terrains reference I'd play it safe by loading SuperChip variables into normal variables THEN doing any math. Maybe overkill but.. yeah. http://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#superchipram Quote Link to comment https://forums.atariage.com/topic/283413-how-do-we-assign-the-extra-wr-sc-ram/#findComment-4122920 Share on other sites More sharing options...
+Random Terrain Posted September 28, 2018 Share Posted September 28, 2018 I have been experimenting with SC RAM and can't for the life of me figure out how to assign and change values I tried this first I tried to assign w with "w127=1 " then check it later with "if r127=1 then goto __ModdedHKVP70" for a comparison and that came up short. Am I missing something? You'd have a hard time with 127 because that's always used by the playfield if I read the bB page correctly. Look at the charts to see what special variables are available depending on what number you use with pfres: randomterrain.com/atari-2600-memories-batari-basic-commands.html#superchip_charts pfres Quote Link to comment https://forums.atariage.com/topic/283413-how-do-we-assign-the-extra-wr-sc-ram/#findComment-4123027 Share on other sites More sharing options...
ultima Posted September 28, 2018 Author Share Posted September 28, 2018 I thought when I read the page that 127 would be the one to start with I'll try w001 and see if changing it to the other end works as soon as I get home. Will post an update later thanks guys. Quote Link to comment https://forums.atariage.com/topic/283413-how-do-we-assign-the-extra-wr-sc-ram/#findComment-4123084 Share on other sites More sharing options...
+Random Terrain Posted September 28, 2018 Share Posted September 28, 2018 Yeah, it seems to go backwards. Quote Link to comment https://forums.atariage.com/topic/283413-how-do-we-assign-the-extra-wr-sc-ram/#findComment-4123089 Share on other sites More sharing options...
ultima Posted September 29, 2018 Author Share Posted September 29, 2018 (edited) Yeah, it seems to go backwards. w000 worked after re-reading about it a pfres 24 playfield allows 000-031 Thanks RT. I also found you can clear SC variables with asm LDA #0 STA W000 ; add SC variable here end **I just realized that stella shows the ram you can use Edited September 29, 2018 by ultima 1 Quote Link to comment https://forums.atariage.com/topic/283413-how-do-we-assign-the-extra-wr-sc-ram/#findComment-4123611 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.