don't allow IRQs during CHROUT to avoid all cursor pooh
This commit is contained in:
1 parent
d0797fedef
commit
f031907abb
2 files changed
+5
-1
No files matched your search
@@ -78,7 +78,7 @@ no_blink_cursor:
|
|||||||
rts
|
rts
|
||||||
|
|
||||||
disable_cursor:
|
disable_cursor:
|
||||||
lda #$ff
|
lda #$80
|
||||||
sta cursor_blink_disable
|
sta cursor_blink_disable
|
||||||
;; FALL THROUGH
|
;; FALL THROUGH
|
||||||
hide_cursor_if_visible:
|
hide_cursor_if_visible:
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ chrout:
|
|||||||
pha
|
pha
|
||||||
tya
|
tya
|
||||||
pha
|
pha
|
||||||
|
php
|
||||||
|
sei
|
||||||
|
|
||||||
jsr hide_cursor_if_visible
|
jsr hide_cursor_if_visible
|
||||||
|
|
||||||
@@ -372,6 +374,8 @@ no_screen_advance_to_next_line:
|
|||||||
chrout_done:
|
chrout_done:
|
||||||
jsr show_cursor_if_enabled
|
jsr show_cursor_if_enabled
|
||||||
|
|
||||||
|
plp
|
||||||
|
|
||||||
;; Restore X and Y, set carry to mark success on exit
|
;; Restore X and Y, set carry to mark success on exit
|
||||||
pla
|
pla
|
||||||
tay
|
tay
|
||||||
|
|||||||
Reference in new issue
Block a user