enable and disable cursor when reading a line of keyboard input via chrin

This commit is contained in:
Paul Gardner-Stephen committed 2019-04-22 12:37:27 +09:30
1 parent 296fdcfd7a
commit 13a7aee1d2
2 files changed
+14

No files matched your search

+10
View File
@@ -70,7 +70,17 @@ no_blink_cursor:
rts
disable_cursor:
lda #$ff
sta cursor_blink_disable
;; FALL THROUGH
hide_cursor_if_visible:
bit cursor_is_visible
bpl undraw_cursor
rts
enable_cursor:
lda #$00
sta cursor_blink_disable
rts