Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 5552

8-bit acorn software: games - high scores • Re: High Score Challenge - S26 - Round Seven - Road Runner

$
0
0
Apologies - didn't realise that manicminer had already looked at the code. Dug a bit deeper in the hope that it might have been a quick fix but no luck. The score isn't actually kept at &a00 when the game is running - instead it uses &00 (after saving the current content elsewhere so that it can return to BASIC). But the code only looks after two bytes there in any case.

Code:

2156 F8        SED                      2157 18        CLC                      2158 65 00     ADC 00                   215A 85 00     STA 00                   215C 8A        TXA                      215D 65 01     ADC 01                   215F 85 01     STA 01                   2161 D8        CLD                      
No worries, more eyes makes for light work :lol:

The need to move the code from 0x00/1 -> 0xA00/1 is due to returning to BASIC.

I did sleep on it and had a thought, has the developer been doubly lazy in giving scores in increments of 10 rather than 1? Looking at the scores, the last two digits are always zero, so modifying the code to work on 1 rather than 10 would overcome this wrap-around bug/deficiency. Then multiply the score by 100 instead of 10. I can't see myself surviving to eclipse 999,900 #-o :lol:

Statistics: Posted by maniacminer — Thu Dec 11, 2025 1:20 pm



Viewing all articles
Browse latest Browse all 5552

Trending Articles