1
0
mirror of https://github.com/fumiama/c64-snake.git synced 2026-06-05 00:32:39 +08:00
Files
c64-snake/printinput.asm
2021-04-03 19:34:32 +08:00

18 lines
235 B
NASM

.outfile "printinput.prg"
.require "platform/c64header.oph"
.require "platform/c64kernal.oph"
main:
* jsr getin
beq skip
cmp #'@
beq end
jsr printbyte
lda #13 ; 换行
jsr chrout
skip:
jmp -
end:
rts
.require "printbyte.asm"