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. (reverted from commit 36369fb714)
This commit is contained in:
Oliver Schmidt 2017-09-30 14:57:18 +02:00
parent 7145c4e8a0
commit 8b3c53ee67

View File

@ -25,16 +25,8 @@ 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