mirror of
https://github.com/cc65/cc65.git
synced 2025-01-30 12:33:15 +00:00
Tiny optimization
This commit is contained in:
parent
bcb8b49907
commit
a43cac580e
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user