mirror of
https://github.com/fumiama/c64-snake.git
synced 2026-07-01 01:10:34 +08:00
框架构建完成
This commit is contained in:
19
judge.asm
Normal file
19
judge.asm
Normal file
@@ -0,0 +1,19 @@
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; judgeout 判断是否出界/撞到自身
|
||||
; 是->sec 即进位标志置1
|
||||
; 否->clc 即进位标志置0
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
judgeout:
|
||||
.scope
|
||||
rts
|
||||
.scend
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; judgefood 判断是否吃到食物
|
||||
; 是->sec 即进位标志置1
|
||||
; 否->clc 即进位标志置0
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
judgefood:
|
||||
.scope
|
||||
rts
|
||||
.scend
|
||||
Reference in New Issue
Block a user