1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-10 20:25:20 +00:00

Tiny optimization

This commit is contained in:
Olli Savia
2020-07-08 21:37:39 +03:00
committed by Oliver Schmidt
parent bcb8b49907
commit a43cac580e

View File

@@ -261,16 +261,15 @@ PATTERN_SOLID:
sta tmp2+1
inx ; (ldx #$00)
stx ERROR ; Set to TGI_ERR_OK
clc
@NEXT_ROW:
ldy #$00
txa
clc
adc #$10
@NEXT_COLUMN:
sta (tmp2),y
clc
adc #ROWS
iny
cpy #COLS
@@ -282,10 +281,8 @@ PATTERN_SOLID:
clc
adc #COLS
sta tmp2
bcc @L1
inc tmp2+1
@L1: inx
inx
cpx #ROWS
bne @NEXT_ROW