-
-
Save mach-kernel/7e6ed292891afe0f28a3bd228fddbaa6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
up cpy #0 | |
beq ping | |
dey | |
jmp finkey | |
down cpy #22 | |
beq ping | |
iny | |
jmp finkey | |
left cpx #0 | |
beq ping | |
dex | |
jmp finkey | |
right cpx #39 | |
beq ping | |
jmp *+2 | |
colinc cpx #39 | |
beq :rolcol | |
inx | |
jmp finkey | |
:rolcol ldx #0 | |
jmp down | |
return ldx #0 | |
jmp down | |
backspace lda #$A0 | |
cpx #0 | |
beq :contbs | |
dex | |
:contbs jsr drawchar | |
jmp finkey |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment