Removed (pretty inconsistently used) tab chars from source code base.

This commit is contained in:
Oliver Schmidt
2013-05-09 13:56:54 +02:00
parent 44fd1082ae
commit 85885001b1
1773 changed files with 62864 additions and 62868 deletions

View File

@@ -4,43 +4,43 @@
; Zero the bss segment.
;
.export zerobss
.import __BSS_RUN__, __BSS_SIZE__
.importzp ptr1
.export zerobss
.import __BSS_RUN__, __BSS_SIZE__
.importzp ptr1
.segment "INIT"
zerobss:
lda #<__BSS_RUN__
sta ptr1
lda #>__BSS_RUN__
sta ptr1+1
lda #0
tay
lda #<__BSS_RUN__
sta ptr1
lda #>__BSS_RUN__
sta ptr1+1
lda #0
tay
; Clear full pages
L1: ldx #>__BSS_SIZE__
beq L3
L2: sta (ptr1),y
iny
bne L2
inc ptr1+1
dex
bne L2
L1: ldx #>__BSS_SIZE__
beq L3
L2: sta (ptr1),y
iny
bne L2
inc ptr1+1
dex
bne L2
; Clear remaining page (y is zero on entry)
L3: cpy #<__BSS_SIZE__
beq L4
sta (ptr1),y
iny
bne L3
L3: cpy #<__BSS_SIZE__
beq L4
sta (ptr1),y
iny
bne L3
; Done
L4: rts
L4: rts