1
0
mirror of https://github.com/fumiama/c64-snake.git synced 2026-06-09 04:30:17 +08:00

部分修复score

This commit is contained in:
fumiama
2021-04-01 00:35:09 +08:00
parent 52ac9f147b
commit e127bff706
5 changed files with 29 additions and 14 deletions

View File

@@ -2,6 +2,7 @@
.space _na 1 ; a的临时存放处
.text
printbyte:
pha
sta _na
txa
pha
@@ -12,6 +13,9 @@ printbyte:
jsr chrout ; putchar(a)
dex ; x--
bne - ; if(x != 0) goto 上个星号
lda #$20
jsr chrout
pla
tax
pla
rts