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