mirror of
https://github.com/bobbimanners/emailler.git
synced 2025-03-17 08:29:36 +00:00
c64input.s: fix stray cursor image in host and port entry
This introduces some latency when typing in host name and port. But I think that's acceptable.
This commit is contained in:
parent
78864d2c56
commit
7145c4e8a0
@ -25,8 +25,16 @@ get_key:
|
||||
@loop:
|
||||
jsr get_key_if_available
|
||||
bcc @loop
|
||||
@wait_no_cursor:
|
||||
sei
|
||||
ldy $cf ; cursor currently displayed?
|
||||
beq @done ; no
|
||||
cli ; yes, wait longer
|
||||
bne @wait_no_cursor
|
||||
@done:
|
||||
ldy #1
|
||||
sty $cc ; cursor off
|
||||
cli
|
||||
rts
|
||||
|
||||
; use C64 Kernel ROM function to read a key
|
||||
|
Loading…
x
Reference in New Issue
Block a user