Jump to content

The Southsider

  • entries
    81
  • comments
    767
  • views
    136,063

Highscores

Sign in to follow this  
cd-w

897 views

Well, it has been 5 months since my last blog entry! A lot has happened to me in this time, including finishing a book, getting engaged, moving house, and changing jobs. Most of these have been good things, and I will try to write about them in more detail in the future. However, it has all left me with very little time to do any Atari programming. I started the year with big ideas (i.e. PoP) and planned to enter the 8K minigame competition (with Juno First), but this has not been possible. It also looks like I will be busy for some time to come, and as a result I haven't been able to help out with this years' holiday cart. However, there is one small Atari project that I have managed to make some progress on, and I though I would post the initial results here.

 

A feature that is missing from most Atari games, but is ubiquitous in the Arcades, is the "high score" table. Now that the SaveKey is available there seems to be no good excuse for this omission. I though it would be a good idea to try and write a generic Top-10 highscore routine that people could include in their games. I also wanted to include a highscore feature in Juno First, should I ever find time to finish the game. It turns out that it is quite difficult to design a high score routine as there are lots of exceptions that can occur, e.g. if the savekey is removed, or errors occur during reading or writing. As a result, I first designed a state chart which covers most of the possibilities:

 

post-1243-1081264548_thumb.jpg

 

The main difficulty of developing for the Savekey is that it isn't currently emulated in either Stella or Z26. I had hoped that it might be possible to use the Savekey with the Stelladapter, but this doesn't seem to work. My Atari stuff is still in deep storage since I moved, so I haven't been able to test my code properly, but I have written some initial code that follows the state chart above. The code is completely unoptimised and takes up a full 4K, but I wanted to check that it works before I start shaving cycles. Also, I figured that anyone else using this code would probably want to customise it themselves, and any heavy optimising would get in the way.

 

 

Edit: Minor code update - fixed some obvious bugs and optimised a bit - still untested on real hardware:

controllerpics.zip

 

The initial code and binary is attached above. In Stella, it gets stuck waiting for you to attach the Savekey, while in Z26 is acts as if the Savekey were connected. I have attached a couple of screenshots below so you can see the main screens. I will be grateful if someone could try this on a real Savekey, although it may corrupt any data that you have on there, so be very careful! Let me know if you find any bugs or have any suggestions for improvements. The text kernels are just for demonstration purposes and will be improved later.

 

 

 

Chris

Sign in to follow this  


9 Comments


Recommended Comments

Hey, you're back! :)

 

Thanks! I haven't really been away - just a bit too busy to actively participate ;)

Share this comment


Link to comment

I hope you can return to working on Juno First someday. You had a great start on it!

 

(Also looking forward to seeing work resume on Colony 7, Manuel. :) )

Share this comment


Link to comment
I hope you can return to working on Juno First someday. You had a great start on it!

 

Same here! :D

 

(Also looking forward to seeing work resume on Colony 7, Manuel. :D )

 

Same h... ooopsa! :) ;)

 

Now, the giantic project at work, which was the main reason I put Colony 7 on ice, is unfortunately still on. Getting promoted to be the team leader sure didn't help it - I had the last day off in April I think. I'm beginning to see the light at the end of the tunnel though, so I'm positive that I can resume C7 in January! ;)

Share this comment


Link to comment
Well, it has been 5 months since my last blog entry! A lot has happened to me in this time, including finishing a book, getting engaged, moving house, and changing jobs.

That is a lot. The book looks interesting, and I look forward to reading more about what you've been up to. Are you still in Edinburgh?

 

The high score feature could be useful for my next project. I'll have to look into it. BTW, my next project (meaning the one currently at the top of the to-do list) is something I only imagined a few weeks ago and have not announced yet.

Share this comment


Link to comment

BTW, my next project (meaning the one currently at the top of the to-do list) is something I only imagined a few weeks ago and have not announced yet.

Well, not publicly. :)

Share this comment


Link to comment

Thanks for all the words of support. I am going to try and revive the Juno First project over the holidays as it looks like it will be a good game, and there isn't all that much left to do.

 

That is a lot. The book looks interesting, and I look forward to reading more about what you've been up to. Are you still in Edinburgh?

The high score feature could be useful for my next project. I'll have to look into it. BTW, my next project (meaning the one currently at the top of the to-do list) is something I only imagined a few weeks ago and have not announced yet.

 

Thanks - I am still based in Edinburgh, but I have now left academia and am working in the computer games industry (still in Artificial Intelligence though). I am interested to know more about your latest project when you are ready to announce it.

 

Chris

Share this comment


Link to comment

You should read up on my Blog. Maybe it would help motivate you to revive PoP, which I think would be an ideal candidate for a Chimera-native game.

Share this comment


Link to comment
Guest
Add a comment...

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