mirror of
https://github.com/blondie7575/GSCats.git
synced 2025-02-21 12:29:09 +00:00
Optimization
This commit is contained in:
parent
51c5ec644e
commit
fa19888d4d
BIN
gscats.2mg
BIN
gscats.2mg
Binary file not shown.
@ -51,7 +51,7 @@ renderTerrainDone:
|
|||||||
renderClippedSpanChain:
|
renderClippedSpanChain:
|
||||||
|
|
||||||
; Prepare our state
|
; Prepare our state
|
||||||
; = 24 cycles per row + 80 cycles for actual pixels
|
; = 23 cycles per row + 80 cycles for actual pixels
|
||||||
lda #80 ; 2
|
lda #80 ; 2
|
||||||
sta <XLEFT ; 3
|
sta <XLEFT ; 3
|
||||||
lda #$1111 ; 2
|
lda #$1111 ; 2
|
||||||
@ -66,7 +66,7 @@ renderClippedSpanChain:
|
|||||||
; = 27 cycles per skipped span
|
; = 27 cycles per skipped span
|
||||||
renderClippedSpanChainLoop:
|
renderClippedSpanChainLoop:
|
||||||
|
|
||||||
lda spanChain,y ; 5
|
lda spanChain,y ; 4
|
||||||
sec ; 2
|
sec ; 2
|
||||||
sbc <RIGHTEDGE ; 3
|
sbc <RIGHTEDGE ; 3
|
||||||
bmi renderClippedSpanChainNextSpan ; 2/3
|
bmi renderClippedSpanChainNextSpan ; 2/3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user