Island2Live Posted January 18, 2015 Share Posted January 18, 2015 Folks, I have a little problem. I am currently developing a game on cartridge. Not sure if it will come out on cartridge but the memory layout is currently planned that way. This game will maintain a highscore ... of course not after power down. But I like to keep the highscore even after tapping the [Reset] button on our Atari. Any ideas? Kind regards, Henrik Fisch Quote Link to comment Share on other sites More sharing options...
Rybags Posted January 18, 2015 Share Posted January 18, 2015 When the cartridge receives initial control the WARMST flag ( can be tested - nonzero means reset was pressed, zero means initial powerup. So, if WARMST = 0, set your high score to 0 or whatever initial value you want. If WARMST = nonzero, don't touch your high score. High scores can be saved to an Atarimax flashcart although the blocksize is somewhat large, so you're writing out something like 8K on a 128K one. Quote Link to comment Share on other sites More sharing options...
Island2Live Posted January 18, 2015 Author Share Posted January 18, 2015 Whow! Thank you very much ... this is a perfect solution! Kind regards, Henrik Fisch Quote Link to comment Share on other sites More sharing options...
+CharlieChaplin Posted January 18, 2015 Share Posted January 18, 2015 Hmmm, I guess the game will be reset-proof then ?!? If the game comes on cart. this is okay, but if the game comes on other media (e.g. bootdisk, diskfile, etc.), please include some key or key-combination which will do a coldstart ! Otherwise we would have to power-cycle (power off and on again) the real A8, which is not very good for a more than 30 years old machine... 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.