mirror of
https://github.com/fumiama/c64-snake.git
synced 2026-06-05 00:32:39 +08:00
框架构建完成
This commit is contained in:
@@ -3,16 +3,16 @@
|
||||
.require "platform/c64kernal.oph"
|
||||
|
||||
main:
|
||||
* jsr getin
|
||||
beq skip
|
||||
cmp #'@
|
||||
beq end
|
||||
jsr printbyte
|
||||
lda #13 ; 换行
|
||||
jsr chrout
|
||||
* jsr getin
|
||||
beq skip
|
||||
cmp #'@
|
||||
beq end
|
||||
jsr printbyte
|
||||
lda #13 ; 换行
|
||||
jsr chrout
|
||||
skip:
|
||||
jmp -
|
||||
jmp -
|
||||
end:
|
||||
rts
|
||||
rts
|
||||
|
||||
.require "printbyte.asm"
|
||||
Reference in New Issue
Block a user