remove extra spaces

This commit is contained in:
mrdudz
2022-08-28 22:37:33 +02:00
parent 54aff47513
commit df4b6f9d14
31 changed files with 51 additions and 51 deletions

View File

@@ -54,12 +54,12 @@
ldx unittab,y
jsr closecmdchannel ; Close the disk command channel
pla ; Get the error code from the disk
jmp ___mappederrno ; Set __oserror and _errno, return 0/-1
jmp ___mappederrno ; Set __oserror and _errno, return 0/-1
; Error entry: The given file descriptor is not valid or not open
invalidfd:
lda #EBADF
jmp ___directerrno ; Set _errno, clear __oserror, return -1
jmp ___directerrno ; Set _errno, clear __oserror, return -1
.endproc

View File

@@ -52,7 +52,7 @@ fail: lda #0 ; Return NULL
okay: lda fnunit ; Set by diskinit
jsr devicestr ; Returns 0 in A
sta ___oserror ; Clear __oserror
sta ___oserror ; Clear __oserror
; Success, return buf

View File

@@ -189,7 +189,7 @@ nofile: ; ... else use SA=0 (read)
txa ; Handle
ldx #0
stx ___oserror ; Clear __oserror
stx ___oserror ; Clear __oserror
rts
.endproc

View File

@@ -66,7 +66,7 @@
jsr CHKIN
bcc @L3 ; Branch if ok
jmp ___mappederrno ; Store into ___oserror, map to errno, return -1
jmp ___mappederrno ; Store into ___oserror, map to errno, return -1
; Read the next byte
@@ -141,7 +141,7 @@ devnotpresent:
invalidfd:
lda #EBADF
jmp ___directerrno ; Sets _errno, clears __oserror, returns -1
jmp ___directerrno ; Sets _errno, clears __oserror, returns -1
.endproc

View File

@@ -55,7 +55,7 @@
jsr CKOUT
bcc @L2
@error: jmp ___mappederrno ; Store into ___oserror, map to errno, return -1
@error: jmp ___mappederrno ; Store into ___oserror, map to errno, return -1
; Output the next character from the buffer
@@ -112,6 +112,6 @@ devnotpresent:
invalidfd:
lda #EBADF
jmp ___directerrno ; Sets _errno, clears __oserror, returns -1
jmp ___directerrno ; Sets _errno, clears __oserror, returns -1
.endproc