From: Stephan Mühlstrasser Date: Sat, 21 Feb 2015 19:53:16 +0000 (+0100) Subject: Use character constants where appropriate. X-Git-Tag: V2.15~20^2~9^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1b9aa7c6f3d7cb253d5f28a8ba68b924d796e7e6;p=cc65 Use character constants where appropriate. --- diff --git a/libsrc/osic1p/cclear.s b/libsrc/osic1p/cclear.s index 4e18c70a3..2036c38e0 100644 --- a/libsrc/osic1p/cclear.s +++ b/libsrc/osic1p/cclear.s @@ -22,7 +22,7 @@ _cclear: cmp #0 ; Is the length zero? beq L9 ; Jump if done sta tmp1 -L1: lda #$20 ; Blank - screen code +L1: lda #' ' jsr cputdirect ; Direct output dec tmp1 bne L1 diff --git a/libsrc/osic1p/clrscr.s b/libsrc/osic1p/clrscr.s index ee32bf969..db8da6912 100644 --- a/libsrc/osic1p/clrscr.s +++ b/libsrc/osic1p/clrscr.s @@ -12,7 +12,7 @@ BANKS = VIDEORAMSIZE / $100 _clrscr: - lda #$20 ; ' ' + lda #' ' ldy #BANKS ldx #$00 staloc: