JWalrus Posted February 26, 2018 Share Posted February 26, 2018 I've noticed a strange issue with how score is handled in bAtari BASIC. I've noticed that in one of my old games, and especially my new one, that once the score increases over 999, it shoots up to 101000. This trend continues, where the 6th digit is equal to the 4th digit. This also is not counted as a score higher than one lower than it, as my high score is unchanged after restarting. I do nothing special in my code, except statements such as score = score + 1. What is causing this issue, and can I fix it? Quote Link to comment Share on other sites More sharing options...
+Karl G Posted February 26, 2018 Share Posted February 26, 2018 I don't suppose you are running your code on the Atari Flashback Portable? 1 Quote Link to comment Share on other sites More sharing options...
JWalrus Posted February 26, 2018 Author Share Posted February 26, 2018 Eeyup. I have no "real" hardware to test this on. Iirc the issue is reproducible in Stella, though. Quote Link to comment Share on other sites More sharing options...
+stephena Posted February 26, 2018 Share Posted February 26, 2018 This issue isn't reproducible for me in Stella 5.1 or above. Are you by chance using an old version of Stella (4.x or below)? If so, you really should update to the latest version. Quote Link to comment Share on other sites More sharing options...
+KaeruYojimbo Posted February 26, 2018 Share Posted February 26, 2018 It's an issue with the bB score display and the flashback portable. It even affects a couple of the games included with it (Strip Off and Shield Shifter). Nukey Shay made fixed versions of those 2 games, but as far as I know, no one has made any changes to bB or the flashback emulator to fix the problem. The score does display properly on a real 2600 though. Quote Link to comment Share on other sites More sharing options...
JWalrus Posted February 27, 2018 Author Share Posted February 27, 2018 Just retried on Stella and the problem did not happen. Huh. That just kinda sucks, then. Are there any fixes I can make to make a special version that works on the portable? Oh, by the way, please check out the project! I'm proud of the work I've done in a few days Quote Link to comment Share on other sites More sharing options...
+KaeruYojimbo Posted February 27, 2018 Share Posted February 27, 2018 It can be fixed, but it has to be done at the assembly level, not in bB. Here's the post about fixing Shield Shifter and Strip Off: http://atariage.com/forums/topic/259166-flashback-portable-needed-controller-hacks/?p=3692392 Quote Link to comment Share on other sites More sharing options...
JWalrus Posted February 27, 2018 Author Share Posted February 27, 2018 I do know that bAtari BASIC generates an assembly file out of your code (for me, it's WalRush2.bas.asm). Can this be modified and compiled directly? 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.