diff --git a/.Floppies/A2OSX.BUILD.po b/.Floppies/A2OSX.BUILD.po index 7d4a2636..38eaf1c4 100644 Binary files a/.Floppies/A2OSX.BUILD.po and b/.Floppies/A2OSX.BUILD.po differ diff --git a/.Floppies/A2OSX.SRC.po b/.Floppies/A2OSX.SRC.po index 7ff1f48b..ab39480f 100644 Binary files a/.Floppies/A2OSX.SRC.po and b/.Floppies/A2OSX.SRC.po differ diff --git a/INC/COM.6551.I.txt b/INC/COM.6551.I.txt index 14a45410..5712cd28 100644 --- a/INC/COM.6551.I.txt +++ b/INC/COM.6551.I.txt @@ -11,8 +11,8 @@ SSC.DATA .EQ $C088 R,W SSC.RESET .EQ $C089 W SSC.STATUS .EQ $C089 R SSC.STATUS.IRQ .EQ %10000000 -SSC.STATUS.DSR .EQ %01000000 -SSC.STATUS.DCD .EQ %00100000 +SSC.STATUS.nDSR .EQ %01000000 +SSC.STATUS.nDCD .EQ %00100000 SSC.STATUS.TDRE .EQ %00010000 SSC.STATUS.RDRF .EQ %00001000 SSC.STATUS.OE .EQ %00000100 diff --git a/SBIN/GETTY.S.txt b/SBIN/GETTY.S.txt index 4860b01e..0c343db8 100644 --- a/SBIN/GETTY.S.txt +++ b/SBIN/GETTY.S.txt @@ -42,7 +42,7 @@ L.HEX2 .DA HEX2 CS.INIT ldy #S.PS.ARGC lda (pPs),y cmp #2 - bne .9 + bne .90 lda #1 >SYSCALL GetArg.A @@ -75,7 +75,7 @@ CS.INIT ldy #S.PS.ARGC clc rts - >LDYA L.MSG.USAGE +.90 >LDYA L.MSG.USAGE >SYSCALL PrintF.YA lda #0 sec diff --git a/SBIN/SHELL.S.txt b/SBIN/SHELL.S.txt index cbdd6e02..5a2f9bec 100644 --- a/SBIN/SHELL.S.txt +++ b/SBIN/SHELL.S.txt @@ -165,7 +165,8 @@ CS.RUN >LDA.G bReadMode READ Command ? bne .8 >LDA.G CSH.hBuf batch mode ? - bne CS.RUN.BATCH + beq .10 + jmp CS.RUN.BATCH *-------------------------------------- .10 jsr CL.RESET reset CmdBuf @@ -174,9 +175,13 @@ CS.RUN >LDA.G bReadMode READ Command ? .1 >SLEEP >SYSCALL GetChar - bcs .1 no char + bcc .3 + cmp #26 EOF + beq .9 - jsr CL.CHARIN + bne .1 no char + +.3 jsr CL.CHARIN >LDA.G bCmdBufExec Something to execute ? bpl .1