1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-20 20:29:31 +00:00

Save another 3 bytes

This commit is contained in:
Olli Savia 2020-07-13 12:09:01 +03:00 committed by greg-king5
parent 306f421aa9
commit e2ec517aae

View File

@ -270,16 +270,14 @@ PATTERN_SOLID:
@NEXT_COLUMN:
sta (tmp2),y
adc #ROWS
iny
cpy #COLS
bne @NEXT_COLUMN
adc #ROWS
bcc @NEXT_COLUMN
; Step to next row on screen.
lda tmp2
clc
adc #COLS
adc #COLS-1 ; Carry is set
sta tmp2
inx