diff --git a/c64/kernal/e50a.plot.s b/c64/kernal/e50a.plot.s index 58afa453..dbf08d43 100644 --- a/c64/kernal/e50a.plot.s +++ b/c64/kernal/e50a.plot.s @@ -17,15 +17,16 @@ PLOT: // - 'Duotris' game calls $E50C during startup screen initialization plot_set: - sty TBLX - stx PNTR + sty PNTR + stx TBLX - // XXX handle cursor blink - // XXX should we update some more variables? + jsr calculate_screen_line_pointer + + // XXX cursor blink might need to be handled too // FALLTROUGH to save one byte on RTS plot_get: - ldy TBLX - ldx PNTR + ldy PNTR + ldx TBLX rts