mirror of
https://github.com/cc65/cc65.git
synced 2025-02-26 23:30:03 +00:00
Some optimization.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4546 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
c71c75c162
commit
246a8db9ac
@ -567,16 +567,16 @@ next: sta ERR
|
|||||||
; Must set an error code: NO
|
; Must set an error code: NO
|
||||||
BAR:
|
BAR:
|
||||||
bit $C082 ; Switch in ROM
|
bit $C082 ; Switch in ROM
|
||||||
|
lda X2
|
||||||
|
sta H2
|
||||||
inc Y2
|
inc Y2
|
||||||
ldx X2
|
ldx Y1
|
||||||
stx H2
|
: txa
|
||||||
: ldy X1
|
ldy X1
|
||||||
lda Y1
|
jsr HLINE ; Preserves X
|
||||||
jsr HLINE
|
inx
|
||||||
inc Y1
|
cpx Y2
|
||||||
lda Y2
|
bcc :-
|
||||||
cmp Y1
|
|
||||||
bne :-
|
|
||||||
bit $C080 ; Switch in LC bank 2 for R/O
|
bit $C080 ; Switch in LC bank 2 for R/O
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user