mirror of
https://github.com/a2-4am/4cade.git
synced 2025-04-10 21:38:38 +00:00
shave some cycles (save/restore Y instead of recomputing)
This commit is contained in:
parent
d97e22805f
commit
b7643d2f98
@ -77,12 +77,12 @@ input=*+1
|
||||
+ROW_X_TO_MIRROR_ADDRESSES
|
||||
|
||||
inc input
|
||||
clc
|
||||
!byte $2C
|
||||
bankloop sec
|
||||
tay
|
||||
lda (input), y
|
||||
+HIGH_3_LOW_5 input
|
||||
sty <y
|
||||
clc
|
||||
!byte $A9
|
||||
bankloop sec
|
||||
|
||||
; main 1x2 block in top-left quadrant
|
||||
src1=*+1
|
||||
@ -128,7 +128,8 @@ mirror_dest2=*+1
|
||||
+COPY_BIT mirror_src1, mirror_dest1, copymasks
|
||||
+COPY_BIT mirror_src2, mirror_dest2, copymasks
|
||||
|
||||
lda #0
|
||||
y=*+1
|
||||
ldy #$FD
|
||||
sta $C003
|
||||
sta $C005
|
||||
bcc bankloop
|
||||
|
Loading…
x
Reference in New Issue
Block a user