plasma: some last code comments

This commit is contained in:
Vince Weaver 2021-01-09 23:27:28 -05:00
parent 2f044a1633
commit 3b9f746ca6

View File

@ -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)