shave a byte

This commit is contained in:
4am 2021-10-17 21:17:34 -04:00
parent 983f5f9b06
commit 62d7552e8a

View File

@ -31,7 +31,6 @@ DrawPageInternal
ldy #0 ldy #0
lda (PTR), y ; A = length of line, or #$FF lda (PTR), y ; A = length of line, or #$FF
bmi PLP_AND_RTS ; if #$FF then we're done bmi PLP_AND_RTS ; if #$FF then we're done
tax ; X = length of line
plp plp
php ; C = whatever was passed in php ; C = whatever was passed in
pha ; save length pha ; save length
@ -94,8 +93,8 @@ DrawStringInternal
+ST16 PTR +ST16 PTR
ldy #0 ldy #0
+ lda (PTR),y + lda (PTR),y
tax
DrawStringSuperInternal DrawStringSuperInternal
tax
inc PTR inc PTR
bne + bne +
inc PTR+1 inc PTR+1