Jump to content
IGNORED

Keeping HighScore even after Reset/NMI


Recommended Posts

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

Link to comment
Share on other sites

When the cartridge receives initial control the WARMST flag (8) 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.

Link to comment
Share on other sites

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...

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...