mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
Move cursor IRQ processing to when the screen is being drawn
This commit is contained in:
parent
d2e8f7bc90
commit
249a04dbde
@ -28,6 +28,7 @@
|
||||
.interruptor mono_blink_cursor
|
||||
|
||||
.importzp sp
|
||||
.import _zonecounter
|
||||
.import _mono_zones
|
||||
.import cursor
|
||||
.import pusha, incsp1, pusha0, pushax, popa
|
||||
@ -175,6 +176,9 @@ umula0:
|
||||
; Offset to cursor zone 5.
|
||||
;
|
||||
.proc mono_blink_cursor
|
||||
lda _zonecounter
|
||||
and #01
|
||||
beq @L3
|
||||
inc blink_time
|
||||
bne @L3
|
||||
lda #140
|
||||
|
@ -28,6 +28,7 @@
|
||||
.interruptor blink_cursor
|
||||
|
||||
.importzp sp
|
||||
.import _zonecounter
|
||||
.import _zones
|
||||
.import cursor
|
||||
.import pusha, incsp1, pusha0, pushax, popa
|
||||
@ -177,6 +178,9 @@ umula0:
|
||||
; Offset to cursor zone 5.
|
||||
;
|
||||
.proc blink_cursor
|
||||
lda _zonecounter
|
||||
and #01
|
||||
beq @L3
|
||||
inc blink_time
|
||||
bne @L3
|
||||
lda #140
|
||||
|
Loading…
Reference in New Issue
Block a user