mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-01-24 05:33:50 +00:00
A wee'er bit faster
This commit is contained in:
parent
206e7ae3f4
commit
d92d5dd6cd
@ -262,9 +262,7 @@ asm _tileDrawStr
|
||||
ADC $2000,Y ; SCANBTTMH
|
||||
STA ESTKL+3,X
|
||||
LDY #$00
|
||||
; STY ESTKH+1,X ; USE STRLENH AS COUNT
|
||||
-- STY SRCH
|
||||
; LDY ESTKH+1,X
|
||||
LDY ESTKL+1,X ; STRLEN
|
||||
LDA (TMP),Y ; TILE INDEX * 8
|
||||
ASL
|
||||
@ -273,7 +271,7 @@ asm _tileDrawStr
|
||||
ROL SRCH
|
||||
ASL
|
||||
ROL SRCH
|
||||
; CLC
|
||||
; CLC ; CARRY IS CLEAR FROM ABOVE
|
||||
ADC ESTKL+0,X ; ADD TO TILESETPTR
|
||||
STA SRCL
|
||||
LDA SRCH
|
||||
@ -290,15 +288,12 @@ asm _tileDrawStr
|
||||
BNE -
|
||||
LDA (SRC),Y
|
||||
STA (ESTKL+2,X)
|
||||
; INC ESTKL+2,X ; RESET SCREEN PTR TO NEXT TILE POS
|
||||
DEC ESTKL+2,X ; RESET SCREEN PTR TO NEXT TILE POS
|
||||
LDA ESTKL+3,X
|
||||
; CLC
|
||||
; ADC #$1C
|
||||
ADC #$1B ; CARRY STILL SET FROM ABOVE
|
||||
STA ESTKL+3,X
|
||||
; INC ESTKH+1,X ; COUNT++
|
||||
; BNE --
|
||||
DEC ESTKL+1,X ; STRLEN--
|
||||
BPL --
|
||||
+ INX
|
||||
|
Loading…
x
Reference in New Issue
Block a user