fixes in PLOT routine - fixes some Duotris glitches, FB64 now allows browsing

This commit is contained in:
FeralChild64 committed 2019-10-06 15:02:26 +02:00
1 parent 1480350bfb
commit 43d7e869e0
1 file changed
+7 -6
+7 -6
View File
@@ -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