New font cleanup

This commit is contained in:
blondie7575 2023-07-16 19:01:14 -07:00
parent a126624a01
commit 6a30a6a0dc
2 changed files with 27 additions and 19 deletions

View File

@ -424,6 +424,14 @@ renderPlayerHeader:
SAVE_AXY SAVE_AXY
PLAYERPTR_Y PLAYERPTR_Y
; Erase header
phy
ldx #0000
ldy #10
jsr colorFill
ply
; Redraw header
tya tya
clc clc
adc #playerData adc #playerData
@ -455,7 +463,7 @@ renderPlayerHeader:
sta PARAML0 sta PARAML0
ldy #$25f2 ldy #$25f2
ldx #0 ldx #0
jsl renderStringFar jsl renderStringFromLeftFar
RESTORE_AXY RESTORE_AXY
rts rts

View File

@ -384,14 +384,14 @@ num4char55:
and #$fff0 and #$fff0
ora #$000e ora #$000e
sta 1,S sta 1,S
; Line 2, Pixel values: 0e00 ; Line 2, Pixel values: 0ea0
tsc tsc
sec sec
sbc #160 sbc #160
tcs tcs
lda 1,S lda 1,S
and #$fff0 and #$0ff0
ora #$000e ora #$a00e
sta 1,S sta 1,S
; Line 1, Pixel values: 00e0 ; Line 1, Pixel values: 00e0
tsc tsc
@ -416,14 +416,14 @@ num4char55:
num4char56: num4char56:
tya tya
tcs tcs
; Line 4, Pixel values: 0e00 ; Line 4, Pixel values: aea0
tsc tsc
dec dec
dec dec
tcs tcs
lda 1,S lda 1,S
and #$fff0 and #$0f00
ora #$000e ora #$a0ae
sta 1,S sta 1,S
; Line 3, Pixel values: e0e0 ; Line 3, Pixel values: e0e0
tsc tsc
@ -434,14 +434,14 @@ num4char56:
and #$0f0f and #$0f0f
ora #$e0e0 ora #$e0e0
sta 1,S sta 1,S
; Line 2, Pixel values: 0e00 ; Line 2, Pixel values: aea0
tsc tsc
sec sec
sbc #160 sbc #160
tcs tcs
lda 1,S lda 1,S
and #$fff0 and #$0f00
ora #$000e ora #$a0ae
sta 1,S sta 1,S
; Line 1, Pixel values: e0e0 ; Line 1, Pixel values: e0e0
tsc tsc
@ -452,14 +452,14 @@ num4char56:
and #$0f0f and #$0f0f
ora #$e0e0 ora #$e0e0
sta 1,S sta 1,S
; Line 0, Pixel values: 0e00 ; Line 0, Pixel values: aea0
tsc tsc
sec sec
sbc #160 sbc #160
tcs tcs
lda 1,S lda 1,S
and #$fff0 and #$0f00
ora #$000e ora #$a0ae
sta 1,S sta 1,S
jmp renderCharJumpReturn jmp renderCharJumpReturn
@ -484,14 +484,14 @@ num4char57:
and #$0fff and #$0fff
ora #$e000 ora #$e000
sta 1,S sta 1,S
; Line 2, Pixel values: 0ee0 ; Line 2, Pixel values: aee0
tsc tsc
sec sec
sbc #160 sbc #160
tcs tcs
lda 1,S lda 1,S
and #$0ff0 and #$0f00
ora #$e00e ora #$e0ae
sta 1,S sta 1,S
; Line 1, Pixel values: e0e0 ; Line 1, Pixel values: e0e0
tsc tsc
@ -502,14 +502,14 @@ num4char57:
and #$0f0f and #$0f0f
ora #$e0e0 ora #$e0e0
sta 1,S sta 1,S
; Line 0, Pixel values: 0ee0 ; Line 0, Pixel values: aee0
tsc tsc
sec sec
sbc #160 sbc #160
tcs tcs
lda 1,S lda 1,S
and #$0ff0 and #$0f00
ora #$e00e ora #$e0ae
sta 1,S sta 1,S
jmp renderCharJumpReturn jmp renderCharJumpReturn