Mallard Games Posted July 16, 2019 Share Posted July 16, 2019 I know that the 2600's RAM and stack are in an unknown state when first turned on and that's why we clear the RAM and setup the start immediately. I was wondering if there are any registers that still are in an unknown state after clearing the RAM and setup the stack. I ask cause I would like to use that to seed my random number generator function. Quote Link to comment https://forums.atariage.com/topic/293379-register-with-random-value-on-startup/ Share on other sites More sharing options...
Nukey Shay Posted July 16, 2019 Share Posted July 16, 2019 INTIM seems a fair bet. Quote Link to comment https://forums.atariage.com/topic/293379-register-with-random-value-on-startup/#findComment-4310799 Share on other sites More sharing options...
JeremiahK Posted July 16, 2019 Share Posted July 16, 2019 Yes, INTIM is what you are looking for. It's not located in the zeropage, and none of the registers for setting the timer are either, so even after clearing the zeropage, it is still unknown. Quote Link to comment https://forums.atariage.com/topic/293379-register-with-random-value-on-startup/#findComment-4311091 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.