]> git.sur5r.net Git - cc65/blobdiff - libsrc/nes/chline.s
Removed (pretty inconsistently used) tab chars from source code base.
[cc65] / libsrc / nes / chline.s
index 2a1b38210d4bca335cc2a0fb95813c6aba40da0e..5f6e67c8f3a07a223e2d276080106cc110ee383b 100644 (file)
@@ -5,27 +5,27 @@
 ; void chline (unsigned char length);
 ;
 
-       .export         _chlinexy, _chline
-       .import         popa, _gotoxy, cputdirect
-       .importzp       tmp1
+        .export         _chlinexy, _chline
+        .import         popa, _gotoxy, cputdirect
+        .importzp       tmp1
 
         .include        "nes.inc"
                                  
 _chlinexy:
-               pha                     ; Save the length
-       jsr     popa            ; Get y
-               jsr     _gotoxy         ; Call this one, will pop params
-       pla                     ; Restore the length
+        pha                     ; Save the length
+        jsr     popa            ; Get y
+        jsr     _gotoxy         ; Call this one, will pop params
+        pla                     ; Restore the length
 
 _chline:
-       cmp     #0              ; Is the length zero?
-       beq     L9              ; Jump if done
-       sta     tmp1
-L1:            lda     #CH_HLINE       ; Horizontal line, screen code
-       jsr     cputdirect      ; Direct output
-       dec     tmp1
-       bne     L1
-L9:    rts
+        cmp     #0              ; Is the length zero?
+        beq     L9              ; Jump if done
+        sta     tmp1
+L1:     lda     #CH_HLINE       ; Horizontal line, screen code
+        jsr     cputdirect      ; Direct output
+        dec     tmp1
+        bne     L1
+L9:     rts