don't allow IRQs during CHROUT to avoid all cursor pooh

This commit is contained in:
Paul Gardner-Stephen committed 2019-05-07 07:04:15 +09:30
1 parent d0797fedef
commit f031907abb
2 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ no_blink_cursor:
rts
disable_cursor:
lda #$ff
lda #$80
sta cursor_blink_disable
;; FALL THROUGH
hide_cursor_if_visible:
+6 -2
View File
@@ -11,9 +11,11 @@ chrout:
pha
tya
pha
php
sei
jsr hide_cursor_if_visible
lda last_printed_character_ascii
tax
@@ -372,6 +374,8 @@ no_screen_advance_to_next_line:
chrout_done:
jsr show_cursor_if_enabled
plp
;; Restore X and Y, set carry to mark success on exit
pla
tay