From 1b9aa7c6f3d7cb253d5f28a8ba68b924d796e7e6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stephan=20M=C3=BChlstrasser?= Date: Sat, 21 Feb 2015 20:53:16 +0100 Subject: [PATCH] Use character constants where appropriate. --- libsrc/osic1p/cclear.s | 2 +- libsrc/osic1p/clrscr.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: -- 2.39.5