diff --git a/.Floppies/A2OSX.BUILD.po b/.Floppies/A2OSX.BUILD.po index 14b14266..04b9fafb 100644 Binary files a/.Floppies/A2OSX.BUILD.po and b/.Floppies/A2OSX.BUILD.po differ diff --git a/BIN/CAT.S.txt b/BIN/CAT.S.txt index 16ed4b34..495f952f 100644 --- a/BIN/CAT.S.txt +++ b/BIN/CAT.S.txt @@ -72,18 +72,22 @@ CS.RUN ldy #1 lda (ZPPtr1),y - ldx OptionList + ldx #OptionList.Cnt-1 + .2 cmp OptionList,x beq .3 + dex - bne .2 + bpl .2 + .99 >PUSHBI 0 >LDYA L.MSG.USAGE >SYSCALL printf lda #E.SYN sec .9 rts -.3 ldy OptionVars-1,x + +.3 ldy OptionVars,x lda #$80 sta 0,y bra .1 @@ -227,7 +231,8 @@ CS.RUN.PRINT inc LineNum bcs .9 .62 inc ByteIndex bne .4 -.7 >PUSHBI 2 + +.7 >PUSHBI 0 >LDYA L.MSG.CRLF >SYSCALL printf @@ -260,7 +265,8 @@ CS.DOEVENT sec *-------------------------------------- CS.END *-------------------------------------- -OptionList >PSTR "ANSans" +OptionList .AS "ANSans" +OptionList.Cnt .EQ *-OptionList OptionVars .DA #bPrintAll,#bLineNum,#bSuppressBlankLine,#bPrintAll,#bLineNum,#bSuppressBlankLine *-------------------------------------- MSG.USAGE .AS "Usage : CAT File1 [File2...]\r\n"