Removed (pretty inconsistently used) tab chars from source code base.
This commit is contained in:
@@ -5,16 +5,16 @@
|
||||
; location $0800 and the cc65 program start address
|
||||
;
|
||||
|
||||
.constructor initiobuf
|
||||
.export iobuf_alloc, iobuf_free
|
||||
.import __STARTUP_RUN__
|
||||
.import incsp2, popax
|
||||
.constructor initiobuf
|
||||
.export iobuf_alloc, iobuf_free
|
||||
.import __STARTUP_RUN__
|
||||
.import incsp2, popax
|
||||
|
||||
.include "zeropage.inc"
|
||||
.include "errno.inc"
|
||||
.include "../filedes.inc"
|
||||
.include "zeropage.inc"
|
||||
.include "errno.inc"
|
||||
.include "../filedes.inc"
|
||||
|
||||
.segment "INIT"
|
||||
.segment "INIT"
|
||||
|
||||
initiobuf:
|
||||
; Convert end address highbyte to table index
|
||||
@@ -40,10 +40,10 @@ initiobuf:
|
||||
|
||||
iobuf_alloc:
|
||||
; Get and save "memptr"
|
||||
jsr incsp2
|
||||
jsr popax
|
||||
sta ptr1
|
||||
stx ptr1+1
|
||||
jsr incsp2
|
||||
jsr popax
|
||||
sta ptr1
|
||||
stx ptr1+1
|
||||
|
||||
; Search table for free entry
|
||||
ldx #$00
|
||||
@@ -67,11 +67,11 @@ iobuf_alloc:
|
||||
adc #>$0800
|
||||
|
||||
; Store address in "memptr"
|
||||
ldy #$01
|
||||
sta (ptr1),y
|
||||
dey
|
||||
tya
|
||||
sta (ptr1),y
|
||||
ldy #$01
|
||||
sta (ptr1),y
|
||||
dey
|
||||
tya
|
||||
sta (ptr1),y
|
||||
rts
|
||||
|
||||
iobuf_free:
|
||||
@@ -86,7 +86,7 @@ iobuf_free:
|
||||
tax
|
||||
lda #$00
|
||||
sta table,x
|
||||
rts
|
||||
rts
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user