From df4b6f9d144a27ce1aeb1e4ef091f5c4a9548047 Mon Sep 17 00:00:00 2001 From: mrdudz Date: Sun, 28 Aug 2022 22:37:33 +0200 Subject: [PATCH] remove extra spaces --- libsrc/apple2/devicedir.s | 2 +- libsrc/apple2/diosectsize.s | 2 +- libsrc/apple2/lseek.s | 4 ++-- libsrc/apple2/rwcommon.s | 2 +- libsrc/atari/close.s | 2 +- libsrc/atari/diopncls.s | 4 ++-- libsrc/atari/exec.s | 2 +- libsrc/atari/graphics.s | 2 +- libsrc/atari/lseek.s | 4 ++-- libsrc/atari/read.s | 2 +- libsrc/atari/write.s | 2 +- libsrc/cbm/close.s | 4 ++-- libsrc/cbm/devicedir.s | 2 +- libsrc/cbm/open.s | 2 +- libsrc/cbm/read.s | 4 ++-- libsrc/cbm/write.s | 4 ++-- libsrc/common/_directerrno.s | 4 ++-- libsrc/common/_fopen.s | 2 +- libsrc/common/_mappederrno.s | 6 +++--- libsrc/common/chdir.s | 2 +- libsrc/common/fopen.s | 2 +- libsrc/common/fwrite.s | 2 +- libsrc/common/mkdir.s | 2 +- libsrc/common/remove.s | 2 +- libsrc/common/rmdir.s | 2 +- libsrc/common/signal.s | 2 +- libsrc/common/sigtable.s | 12 ++++++------ libsrc/common/uname.s | 2 +- libsrc/common/vsnprintf.s | 2 +- libsrc/geos-cbm/disk/dio_openclose.s | 2 +- libsrc/geos-common/drivers/fio_module.s | 14 +++++++------- 31 files changed, 51 insertions(+), 51 deletions(-) diff --git a/libsrc/apple2/devicedir.s b/libsrc/apple2/devicedir.s index abe900be1..21cabf59e 100644 --- a/libsrc/apple2/devicedir.s +++ b/libsrc/apple2/devicedir.s @@ -73,7 +73,7 @@ oserr: jsr ___mappederrno iny lda #$00 sta (ptr1),y - sta ___oserror ; Clear __oserror + sta ___oserror ; Clear __oserror ; Success, return buf lda ptr1 diff --git a/libsrc/apple2/diosectsize.s b/libsrc/apple2/diosectsize.s index 4730bd611..7d2e27a09 100644 --- a/libsrc/apple2/diosectsize.s +++ b/libsrc/apple2/diosectsize.s @@ -10,7 +10,7 @@ _dio_query_sectsize: ; Clear error - stx ___oserror ; X = 0 + stx ___oserror ; X = 0 ; Return ProDOS 8 block size txa ; X = 0 diff --git a/libsrc/apple2/lseek.s b/libsrc/apple2/lseek.s index cc6241558..be0078c1b 100644 --- a/libsrc/apple2/lseek.s +++ b/libsrc/apple2/lseek.s @@ -107,13 +107,13 @@ seek_common: einval: lda #EINVAL ; Set __errno -errno: jsr ___directerrno ; leaves -1 in AX +errno: jsr ___directerrno ; leaves -1 in AX stx sreg ; extend return value to 32 bits stx sreg+1 rts ; Set ___oserror -oserr: jsr ___mappederrno ; leaves -1 in AX +oserr: jsr ___mappederrno ; leaves -1 in AX stx sreg ; extend return value to 32 bits stx sreg+1 rts diff --git a/libsrc/apple2/rwcommon.s b/libsrc/apple2/rwcommon.s index 302b46457..769247e63 100644 --- a/libsrc/apple2/rwcommon.s +++ b/libsrc/apple2/rwcommon.s @@ -49,7 +49,7 @@ rwcommon: rwepilog: ; Return success - sta ___oserror ; A = 0 + sta ___oserror ; A = 0 lda mliparam + MLI::RW::TRANS_COUNT ldx mliparam + MLI::RW::TRANS_COUNT+1 rts diff --git a/libsrc/atari/close.s b/libsrc/atari/close.s index 63b2948f3..b5bff4173 100644 --- a/libsrc/atari/close.s +++ b/libsrc/atari/close.s @@ -18,7 +18,7 @@ jsr CIOV bmi closerr ok: ldx #0 - stx ___oserror ; clear system specific error code + stx ___oserror ; clear system specific error code txa rts diff --git a/libsrc/atari/diopncls.s b/libsrc/atari/diopncls.s index 37f25049b..f40d6bba4 100644 --- a/libsrc/atari/diopncls.s +++ b/libsrc/atari/diopncls.s @@ -49,7 +49,7 @@ _dio_open: sta sectsizetab+sst_flag,x ; set flag that drive is "open" lda #0 sta sectsizetab+sst_sectsize+1,x - sta ___oserror ; success + sta ___oserror ; success tya sta sectsizetab+sst_driveno,x stx ptr2 @@ -156,7 +156,7 @@ s128: lda #128 lda #0 ldy #sst_flag sta (ptr2),y - sta ___oserror ; success + sta ___oserror ; success tax rts ; return no error diff --git a/libsrc/atari/exec.s b/libsrc/atari/exec.s index 88430e9f7..145b28e0d 100644 --- a/libsrc/atari/exec.s +++ b/libsrc/atari/exec.s @@ -148,7 +148,7 @@ copycd: lda #ATEOL pha ; remember error code jsr close ; close the IOCB (required even if open failed) pla ; put error code back into A -setmerr:jmp ___mappederrno ; update errno from OS specific error code in A +setmerr:jmp ___mappederrno ; update errno from OS specific error code in A openok: lda #>buf sta ICBAH,x ; set buffer address diff --git a/libsrc/atari/graphics.s b/libsrc/atari/graphics.s index f35087aea..1f7844c39 100644 --- a/libsrc/atari/graphics.s +++ b/libsrc/atari/graphics.s @@ -45,7 +45,7 @@ parmok: jsr findfreeiocb beq iocbok ; we found one lda #EINVAL diff --git a/libsrc/atari/lseek.s b/libsrc/atari/lseek.s index 915ec24cf..991a86569 100644 --- a/libsrc/atari/lseek.s +++ b/libsrc/atari/lseek.s @@ -21,7 +21,7 @@ ; seeking not supported, return -1 and ENOSYS errno value no_supp:jsr incsp6 lda #