]> git.sur5r.net Git - cc65/blobdiff - libsrc/c16/cputc.s
Minor comment adjustment.
[cc65] / libsrc / c16 / cputc.s
index 0d705892d4fb032708ea5081a93323726461f44e..5788c1cb01540cb172105348bc4e4ce126d63267 100644 (file)
@@ -8,10 +8,9 @@
        .export         _cputcxy, _cputc, cputdirect, putchar
        .export         newline, plot
        .import         popa, _gotoxy
-       .import         xsize, revers
         .import         PLOT
 
-       .include        "../plus4/plus4.inc"
+       .include        "plus4.inc"
 
 
 _cputcxy:
@@ -50,7 +49,7 @@ cputdirect:
 
 advance:
         iny
-        cpy     xsize
+        cpy     #XSIZE
         bne     L3
         jsr     newline         ; new line
         ldy     #0              ; + cr
@@ -59,13 +58,13 @@ L3:     sty     CURS_X
 
 newline:
        clc
-       lda     xsize
+       lda     #XSIZE
        adc     SCREEN_PTR
        sta     SCREEN_PTR
        bcc     L4
        inc     SCREEN_PTR+1
        clc
-L4:    lda     xsize
+L4:    lda     #XSIZE
        adc     CRAM_PTR
        sta     CRAM_PTR
        bcc     L5
@@ -98,7 +97,7 @@ plot: ldy     CURS_X
 ; position in Y
 
 putchar:
-       ora     revers          ; Set revers bit
+       ora     RVS             ; Set revers bit
                ldy     CURS_X
        sta     (SCREEN_PTR),y  ; Set char
        lda     CHARCOLOR