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

+3 -8
View File
@@ -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
*/