From 3b9f746ca6df41b0d54495c0b72a138e2ec3d448 Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Sat, 9 Jan 2021 23:27:28 -0500 Subject: [PATCH] plasma: some last code comments --- graphics/gr/plasma/plasma.s | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/graphics/gr/plasma/plasma.s b/graphics/gr/plasma/plasma.s index f62acc8b..5838998c 100644 --- a/graphics/gr/plasma/plasma.s +++ b/graphics/gr/plasma/plasma.s @@ -150,7 +150,8 @@ plot_xloop: tya ; get x&0xf and #$f - ora CTEMP ; get ((y&0xf)*16)+x + ora CTEMP ; combine with val from earlier + ; get ((y&0xf)*16)+x tax @@ -163,11 +164,11 @@ plot_lookup_smc: ; lda lookup ; load lookup, (y*16)+x and #$f - lsr + lsr ; we actually only have 8 colors tax - lda colorlookup,X - sta COLOR + lda colorlookup,X ; lookup color + sta COLOR ; each nibble should be same jsr PLOT1 ; plot at GBASL,Y (x co-ord goes in Y)