reenabled scren cursor

This commit is contained in:
FeralChild64 committed 2020-01-03 21:31:28 +01:00
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 #endif // CONFIG_RS232_UP9600
/* YYY disabled for rework
jsr cursor_blink */ jsr cursor_blink
jsr JSCNKEY jsr JSCNKEY
jsr JUDTIM // update jiffy clock jsr JUDTIM // update jiffy clock
+3 -8
View File
@@ -11,13 +11,7 @@
// - PNTR (current screen x position) // - PNTR (current screen x position)
// //
cursor_disable:
rts
cursor_hide_if_visible:
rts
/* YYY disabled for rework
cursor_blink: cursor_blink:
// Is the cursor enabled? // Is the cursor enabled?
lda BLNSW lda BLNSW
@@ -34,9 +28,10 @@ cursor_blink:
// FALLTROUGH // FALLTROUGH
cursor_draw: 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 ldy PNTR
// XXX clip PNTR to 0-39
lda (PNT),y lda (PNT),y
sta GDBLN sta GDBLN
eor #$80 eor #$80
@@ -66,6 +61,7 @@ cursor_undraw:
lda GDBLN lda GDBLN
ldy PNTR ldy PNTR
// XXX clip PNTR to 0-39
sta (PNT),y sta (PNT),y
lda GDCOL lda GDCOL
sta (USER),y sta (USER),y
@@ -85,4 +81,3 @@ cursor_blink_timer_reset:
cursor_blink_end: cursor_blink_end:
rts rts
*/
-4
View File
@@ -6,10 +6,7 @@
// - BLNCT (cursor blink countdown) // - BLNCT (cursor blink countdown)
// //
cursor_show_if_enabled:
rts
/* YYY disabled for rework
cursor_show_if_enabled: cursor_show_if_enabled:
lda BLNSW lda BLNSW
bne cursor_show_end bne cursor_show_end
@@ -36,4 +33,3 @@ cursor_show:
cursor_show_end: cursor_show_end:
rts rts
*/
@@ -1,4 +1,5 @@
/* YYY disabled - most likely not needed
screen_add_40_to_PNTR: screen_add_40_to_PNTR:
@@ -8,3 +9,4 @@ screen_add_40_to_PNTR:
sta PNTR sta PNTR
rts rts
*/