]> git.sur5r.net Git - cc65/commitdiff
Use character constants where appropriate.
authorStephan Mühlstrasser <stephan.muehlstrasser@web.de>
Sat, 21 Feb 2015 19:53:16 +0000 (20:53 +0100)
committerStephan Mühlstrasser <stephan.muehlstrasser@web.de>
Sat, 21 Feb 2015 19:53:16 +0000 (20:53 +0100)
libsrc/osic1p/cclear.s
libsrc/osic1p/clrscr.s

index 4e18c70a30088dcf5245fca70411d4c7d1314b59..2036c38e091ee90437144a0039c80e5d8434c96b 100644 (file)
@@ -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
index ee32bf969688731ca40d8f1dc8c277f3606afe71..db8da69127ca3b0dc15a920bc89d253048472e61 100644 (file)
@@ -12,7 +12,7 @@
 BANKS = VIDEORAMSIZE / $100\r
 \r
 _clrscr:\r
-        lda       #$20          ; ' '\r
+        lda       #' '\r
         ldy       #BANKS\r
         ldx       #$00\r
 staloc:\r