mirror of
https://github.com/a2-4am/passport.git
synced 2024-12-22 04:29:59 +00:00
avoid extra keypress in scroll
This commit is contained in:
parent
3129a8d4e2
commit
e4f6ed2a26
11
src/print.a
11
src/print.a
@ -241,22 +241,23 @@ CheckLogKeys
|
|||||||
cpy #$D4
|
cpy #$D4
|
||||||
bne .skipkey
|
bne .skipkey
|
||||||
cpx #0
|
cpx #0
|
||||||
beq .nolog
|
bne .skipkey
|
||||||
|
|
||||||
|
.nolog
|
||||||
|
rts
|
||||||
|
|
||||||
.checkkey
|
.checkkey
|
||||||
jsr WaitForKey
|
jsr WaitForKey
|
||||||
|
|
||||||
.skipkey
|
.skipkey
|
||||||
cmp #k_left
|
|
||||||
beq .checkup
|
|
||||||
cmp #k_up
|
cmp #k_up
|
||||||
beq .checkup
|
beq .checkup
|
||||||
cmp #k_right
|
cmp #k_right
|
||||||
beq .checkdown
|
beq .checkdown
|
||||||
cmp #k_down
|
cmp #k_down
|
||||||
beq .checkdown
|
beq .checkdown
|
||||||
.nolog
|
cmp #k_left
|
||||||
rts
|
bne .nolog
|
||||||
|
|
||||||
.checkup
|
.checkup
|
||||||
lda .startline1+2
|
lda .startline1+2
|
||||||
|
Loading…
Reference in New Issue
Block a user