second: shave 4 cycles off inner loop

This commit is contained in:
Vince Weaver 2023-10-30 18:18:41 -04:00
parent 2beb1d66c0
commit b50e821037
1 changed files with 2 additions and 1 deletions

View File

@ -36,13 +36,14 @@ pan_outer_loop:
ldy #0
pan_inner_loop:
; original: 36*39 = ??
; updated: 34*39
pil_smc1:
ldx $2000,Y ; 4+
pan_inner_loop:
lda left_lookup_main,X ; 4+
sta TEMPY ; 3