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

@@ -5,27 +5,27 @@
; /* Find a free descriptor slot */
.export __fdesc
.import return0
.export __fdesc
.import return0
.include "stdio.inc"
.include "_file.inc"
.proc __fdesc
ldy #0
ldy #0
lda #_FOPEN
Loop: and __filetab + _FILE::f_flags,y ; load flags
beq Found ; jump if closed
Loop: and __filetab + _FILE::f_flags,y ; load flags
beq Found ; jump if closed
.repeat .sizeof(_FILE)
iny
iny
.endrepeat
cpy #(FOPEN_MAX * .sizeof(_FILE)) ; Done?
bne Loop
cpy #(FOPEN_MAX * .sizeof(_FILE)) ; Done?
bne Loop
; File table is full
jmp return0
jmp return0
; Free slot found, get address