1
0
mirror of https://github.com/fumiama/c64-snake.git synced 2026-06-11 21:50:32 +08:00

修正蛇长初始化错误,增加README

This commit is contained in:
fumiama
2021-04-11 11:49:42 +08:00
parent e35509d578
commit 620818c223
3 changed files with 6 additions and 1 deletions

View File

@@ -48,6 +48,7 @@ main:
jsr printscore ; 打印分数
lda #csnk
sta field + 11*40 + 19 ; 初始化蛇位置
lda #1
sta c ; 初始化蛇长为1
jsr printfield ; 打印蛇,包括边框
jsr printhint ; 打印开始提示