mirror of
https://github.com/A2osX/A2osX.git
synced 2024-07-06 12:29:02 +00:00
Kernel 0.93+
This commit is contained in:
parent
7966543112
commit
7f593583f4
Binary file not shown.
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user