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

扩展data段,完成食物生成

This commit is contained in:
fumiama
2021-04-04 23:05:36 +08:00
parent 743e7c939d
commit 16b49bd98d
8 changed files with 104 additions and 17 deletions

View File

@@ -3,9 +3,6 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
printfield:
.scope
.data zp
.space _ptr 2
.text
ldx #23 ; i代表行数不含边框
lda #<field ; 取地址低8位
sta _ptr