mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-06-06 02:29:32 +00:00
c64input.s: fix latency when typing
This commit is contained in:
parent
6e82e722ad
commit
fc4a2aab96
|
@ -29,8 +29,10 @@ get_key:
|
||||||
sei
|
sei
|
||||||
ldy $cf ; cursor currently displayed?
|
ldy $cf ; cursor currently displayed?
|
||||||
beq @done ; no
|
beq @done ; no
|
||||||
cli ; yes, wait longer
|
ldy #1 ; yes, wait longer
|
||||||
bne @wait_no_cursor
|
sty $cd ; set cursor "countdown" counter to low value, fixes typing latency
|
||||||
|
cli
|
||||||
|
bne @wait_no_cursor ; jump always
|
||||||
@done:
|
@done:
|
||||||
ldy #1
|
ldy #1
|
||||||
sty $cc ; cursor off
|
sty $cc ; cursor off
|
||||||
|
|
Loading…
Reference in New Issue
Block a user