reenabled scren cursor
This commit is contained in:
1 parent
d583ad6f10
commit
9d6814b39e
4 files changed
+7
-14
No files matched your search
@@ -11,8 +11,8 @@ default_irq_handler:
|
||||
|
||||
#endif // CONFIG_RS232_UP9600
|
||||
|
||||
/* YYY disabled for rework
|
||||
jsr cursor_blink */
|
||||
|
||||
jsr cursor_blink
|
||||
jsr JSCNKEY
|
||||
jsr JUDTIM // update jiffy clock
|
||||
|
||||
|
||||
@@ -11,13 +11,7 @@
|
||||
// - PNTR (current screen x position)
|
||||
//
|
||||
|
||||
cursor_disable:
|
||||
rts
|
||||
|
||||
cursor_hide_if_visible:
|
||||
rts
|
||||
|
||||
/* YYY disabled for rework
|
||||
cursor_blink:
|
||||
// Is the cursor enabled?
|
||||
lda BLNSW
|
||||
@@ -34,9 +28,10 @@ cursor_blink:
|
||||
// FALLTROUGH
|
||||
|
||||
cursor_draw:
|
||||
jsr screen_calculate_line_pointer // XXX try to make this call not needed
|
||||
jsr screen_calculate_PNT_USER // YYY try to make this call not needed
|
||||
|
||||
ldy PNTR
|
||||
// XXX clip PNTR to 0-39
|
||||
lda (PNT),y
|
||||
sta GDBLN
|
||||
eor #$80
|
||||
@@ -66,6 +61,7 @@ cursor_undraw:
|
||||
|
||||
lda GDBLN
|
||||
ldy PNTR
|
||||
// XXX clip PNTR to 0-39
|
||||
sta (PNT),y
|
||||
lda GDCOL
|
||||
sta (USER),y
|
||||
@@ -85,4 +81,3 @@ cursor_blink_timer_reset:
|
||||
|
||||
cursor_blink_end:
|
||||
rts
|
||||
*/
|
||||
@@ -6,10 +6,7 @@
|
||||
// - BLNCT (cursor blink countdown)
|
||||
//
|
||||
|
||||
cursor_show_if_enabled:
|
||||
rts
|
||||
|
||||
/* YYY disabled for rework
|
||||
cursor_show_if_enabled:
|
||||
lda BLNSW
|
||||
bne cursor_show_end
|
||||
@@ -36,4 +33,3 @@ cursor_show:
|
||||
|
||||
cursor_show_end:
|
||||
rts
|
||||
*/
|
||||
@@ -1,4 +1,5 @@
|
||||
|
||||
/* YYY disabled - most likely not needed
|
||||
|
||||
screen_add_40_to_PNTR:
|
||||
|
||||
@@ -8,3 +9,4 @@ screen_add_40_to_PNTR:
|
||||
sta PNTR
|
||||
|
||||
rts
|
||||
*/
|
||||
Reference in new issue
Block a user