I am having trouble trying to display a score in my Atari game. After quite a few evenings of hard toil I've managed to work out the code to read the digits from my memory map and load them into variables ready to be drawn in the game loop.
My aim is to draw the score at the top of the screen using the sprite registers. My code is as follows:
ldy #8
TopBar sta WSYNC
lda (digtwo),y
sta GRP0
lda (digone),y
sta HMOVE
sta GRP1
dey
bne TopBar
The above code works as far as the digits are drawn to the screen correctly however the digits are widely spaced and I want to put them close together in the centre. Then if it's not asking too much display my other digits too.
Can anyone help me with how to position the digits correctly? Thanks in advance













