From 43d7e869e0eaa3debd08d990a40bb11e87cda25d Mon Sep 17 00:00:00 2001 From: FeralChild64 Date: Sun, 6 Oct 2019 15:02:26 +0200 Subject: [PATCH] fixes in PLOT routine - fixes some Duotris glitches, FB64 now allows browsing --- c64/kernal/e50a.plot.s | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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