mirror of
https://github.com/cc65/cc65.git
synced 2024-09-29 02:55:20 +00:00
Save another 3 bytes
This commit is contained in:
parent
306f421aa9
commit
e2ec517aae
@ -270,16 +270,14 @@ PATTERN_SOLID:
|
|||||||
|
|
||||||
@NEXT_COLUMN:
|
@NEXT_COLUMN:
|
||||||
sta (tmp2),y
|
sta (tmp2),y
|
||||||
adc #ROWS
|
|
||||||
iny
|
iny
|
||||||
cpy #COLS
|
adc #ROWS
|
||||||
bne @NEXT_COLUMN
|
bcc @NEXT_COLUMN
|
||||||
|
|
||||||
; Step to next row on screen.
|
; Step to next row on screen.
|
||||||
|
|
||||||
lda tmp2
|
lda tmp2
|
||||||
clc
|
adc #COLS-1 ; Carry is set
|
||||||
adc #COLS
|
|
||||||
sta tmp2
|
sta tmp2
|
||||||
|
|
||||||
inx
|
inx
|
||||||
|
Loading…
Reference in New Issue
Block a user