1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 07:29:33 +00:00

Add x=0 to textcolor

This commit is contained in:
Karri Kaksonen 2022-04-16 21:32:22 +03:00 committed by mrdudz
parent a2aaeb0d1d
commit 190911e26f

View File

@ -39,6 +39,7 @@ txtcolor:
@L1: lda #42
@L2: ldy txtcolor
sta txtcolor ; Store new textcolor
ldx #0
tya
bne @L3
rts ; Old colour was 0