1
0
mirror of https://github.com/fumiama/c64-snake.git synced 2026-06-11 13:40:28 +08:00

更改判断、移动顺序,增加head

This commit is contained in:
fumiama
2021-04-06 23:03:27 +08:00
parent 120b67a7e9
commit e35509d578
5 changed files with 8 additions and 6 deletions

View File

@@ -19,11 +19,12 @@
.space c 1 ; 🐍长度 最大255 最小0
.space s 2 ; 得分 小端序
.space _ptr 2 ; 通用指针
.space eat 1 ; 吃到食物标记
.space shead 2 ; 蛇头指针
.alias title $0400
.alias field $0428 ; 蛇所在屏幕内存区
.data
.org $c000
.space eat 1
.text