]> git.sur5r.net Git - cc65/commitdiff
Merge branch 'c1p_kbhit' into c1p_scrsize
authorStephan Mühlstrasser <stephan.muehlstrasser@web.de>
Mon, 23 Feb 2015 18:08:33 +0000 (19:08 +0100)
committerStephan Mühlstrasser <stephan.muehlstrasser@web.de>
Mon, 23 Feb 2015 18:11:50 +0000 (19:11 +0100)
1  2 
libsrc/osic1p/cputc.s

index e986daad1a5506901de6a971678cc231f99c85cd,058964573190ae7df27ff00157aa9bc039a4237f..9f3ff0dc052c1fa1340d265cbcfe8df925cb0280
@@@ -58,6 -58,12 +58,12 @@@ scroll: lda     SCRNBASE+$00A5,
          sta     SCRNBASE+$0285,x
          inx
          bne scroll
 -        cpx     #SCR_LINELEN+1
+ bottom:
+         lda     #' '            ; Clear bottom line of screen
+         sta     SCRNBASE+$0385,x
+         inx
++        cpx     #SCR_WIDTH
+         bne     bottom
  
  plot:   ldy     CURS_Y
          lda     ScrLo,y