entropy: update some comments

This commit is contained in:
Vince Weaver 2018-05-28 00:45:59 -04:00
parent 920ba01aa2
commit 7c156eb49f

View File

@ -147,21 +147,17 @@ less:
inx inx
txa ; move to A txa ; move to A
; lsr
; clc
; adc #1
done: done:
sta HGR_SCALE sta HGR_SCALE ; set scale value
ldy XPOSH ldy XPOSH ; setup X and Y co-ords
ldx XPOS ldx XPOS
lda YPOS lda YPOS
jsr HPOSN ; X= (y,x) Y=(a) jsr HPOSN ; X= (y,x) Y=(a)
ldx #<shape_table ldx #<shape_table ; point to our shape
ldy #>shape_table ldy #>shape_table
lda #0 ; ROT=0 lda #0 ; ROT=0
@ -186,16 +182,16 @@ nextx: ; NEXT X
; 20 ; 20
nexty: ; NEXT Y nexty: ; NEXT Y
lda YPOS ; y+=6 lda YPOS ; y+=6
; clc ; carry always set coming in, so only add 5 adc #5 ; carry always set coming in, so only add 5
adc #5
sta YPOS sta YPOS
cmp #189 ; see if less than 189 cmp #189 ; see if less than 189
bcc yloop ; if so, loop bcc yloop ; if so, loop
nexte: ; NEXT E nexte: ; NEXT E
inc EPOS inc EPOS
lda EPOS lda EPOS
cmp #15 cmp #15
bcc eloop bcc eloop ; branch if <15
jmp entropy jmp entropy