Here's a slightly updated AtariVox/Save Key Sample Program that uses the static area. I thought it would be useful to bundle RevEng's original sample into a very short, simple game that shows all of the basics that you need to know to integrate it into a bB game, as well as showing how to compare and save high scores.
The game starts with a titlescreen that shows the current high score. Press fire to start the demo game.
Push up on joystick to move the arrow sprite up. You will score points as long as it comes in contact with the playfield.
When it scrolls off the top of the screen the 'game' is over and you are taken to an end screen that shows your current score. Press fire again to return to the title screen.
If your new score was higher, it will display the new high score on the title screen. If your new score was lower, it will display the old high score on the title screen.
From the titlescreen, push up on the joystick along with the game select switch (F1 in Stella) and it will clear your current high score.
Of course don't forget to enable the SaveKey in Stella or launch it with 'stella -rc savekey game.bin'.
The source code has lots of comments and will hopefully be useful to those trying to figure out how to access the eeprom in their games. I don't have a sample of how to use the file area at this point. For those working on smaller games, Cybearg informed me that he noticed the file area include uses more ROM space (~720bytes as compared to ~300 bytes).
EDIT: Richard assigns the static locations in 64 byte areas and saving a single high score in bB uses only 3 bytes. A whole lot of bB games with single highscore saving would fit into a single assigned 64 byte area. As long as he doesn't mind, I'll probably be adding additional games to the same allocation area he already assigned me.
I updated the attachments with RevEng's modifications.