diff --git a/A2OSX.BOOT.po b/A2OSX.BOOT.po index 57c98f8e..06c19729 100644 Binary files a/A2OSX.BOOT.po and b/A2OSX.BOOT.po differ diff --git a/A2OSX.SRC.po b/A2OSX.SRC.po index 6333ffa1..20d97a26 100644 Binary files a/A2OSX.SRC.po and b/A2OSX.SRC.po differ diff --git a/BIN/CAT.S.txt b/BIN/CAT.S.txt index 092561ad..01ba8811 100644 --- a/BIN/CAT.S.txt +++ b/BIN/CAT.S.txt @@ -159,30 +159,18 @@ CS.RUN ldy #bCANCEL CS.RUN.PRINT sty BytesRead Y,A = Bytes read stz ByteIndex - ldy #bLineNum - lda (pData),y - bpl .10 - ldy #LineNum lda (pData),y clc adc #1 sta (pData),y - pha + bcc .10 iny lda (pData),y - adc #0 + inc sta (pData),y - ply - >PUSHYA - >LDYA L.MSG.LINENUM - >SYSCALL PrintFYA - bcc .10 - rts -* bcs .9 - .10 lda BytesRead beq .12 dec @@ -209,6 +197,9 @@ CS.RUN.PRINT sty BytesRead Y,A = Bytes read lda #0 sta (pData),y + jsr CS.RUN.PRINTNUM + bcs .9 + .20 ldx ByteIndex lda UsrBuf256,x cmp #' ' @@ -254,6 +245,24 @@ CS.RUN.PRINT sty BytesRead Y,A = Bytes read .9 rts *-------------------------------------- +CS.RUN.PRINTNUM clc + ldy #bLineNum + lda (pData),y + bpl .8 + + ldy #LineNum + lda (pData),y + pha + + iny + lda (pData),y + ply + + >PUSHYA + >LDYA L.MSG.LINENUM + >SYSCALL PrintFYA +.8 rts +*-------------------------------------- CS.RUN.OPEN >SYSCALL GetFullPathYA bcs .9 stx hFullPath