mirror of
https://github.com/A2osX/A2osX.git
synced 2024-06-15 09:29:35 +00:00
Kernel 0.93++
This commit is contained in:
parent
5e329c153e
commit
eb00cdcee7
Binary file not shown.
|
@ -251,7 +251,7 @@ CS.RUN.Print phy
|
|||
>PUSHB (ZPBufPtr1),y
|
||||
>PUSHB (ZPBufPtr2),y
|
||||
>PUSHBI 5
|
||||
>SYSCALL printf
|
||||
>SYSCALL printf2
|
||||
|
||||
ply
|
||||
rts
|
||||
|
|
|
@ -108,9 +108,9 @@ CS.RUN lda #C.SPACE
|
|||
|
||||
.97 lda #E.SYN
|
||||
.98 pha
|
||||
>PUSHW L.MSG.USAGE
|
||||
>PUSHBI 0
|
||||
>LDYA L.MSG.USAGE
|
||||
>SYSCALL printf
|
||||
>SYSCALL printf2
|
||||
pla
|
||||
sec
|
||||
.9 rts
|
||||
|
@ -212,9 +212,9 @@ CS.RUN.OUT ldx FieldNum
|
|||
|
||||
rts
|
||||
*--------------------------------------
|
||||
CS.RUN.PRINTCR >PUSHBI 0
|
||||
>LDYA L.MSG.CRLF
|
||||
>SYSCALL printf
|
||||
CS.RUN.PRINTCR >PUSHW L.MSG.CRLF
|
||||
>PUSHBI 0
|
||||
>SYSCALL printf2
|
||||
|
||||
rts
|
||||
*--------------------------------------
|
||||
|
|
|
@ -98,9 +98,9 @@ CS.RUN
|
|||
bra .10 scan for any other args
|
||||
.97 lda #E.SYN
|
||||
.98 pha
|
||||
>PUSHW L.MSG.USAGE
|
||||
>PUSHBI 0
|
||||
>LDYA L.MSG.USAGE
|
||||
>SYSCALL printf
|
||||
>SYSCALL printf2
|
||||
pla
|
||||
sec
|
||||
.9 rts
|
||||
|
@ -189,10 +189,10 @@ CS.RUN.PRINT >LDYA ZPBufPtr
|
|||
.6 lda bLineNum
|
||||
bpl .7
|
||||
|
||||
>PUSHW L.MSG.NUMLINE
|
||||
>PUSHW LineNum
|
||||
>PUSHBI 2
|
||||
>LDYA L.MSG.NUMLINE
|
||||
>SYSCALL printf
|
||||
>SYSCALL printf2
|
||||
bcs .9
|
||||
.7 >LDYA ZPBufPtr
|
||||
>SYSCALL puts
|
||||
|
|
|
@ -69,8 +69,8 @@ CS.RUN ldy #S.PS.ARGC
|
|||
>STA.G Signal
|
||||
bra .1
|
||||
|
||||
.9 >PUSHBI 0
|
||||
>LDYA L.MSG.USAGE
|
||||
.9 >PUSHW L.MSG.USAGE
|
||||
>PUSHBI 0
|
||||
>SYSCALL printf
|
||||
|
||||
lda #E.SYN
|
||||
|
|
|
@ -74,6 +74,7 @@ CS.RUN >LDYA L.MSG0
|
|||
adc /S.FD.DEV
|
||||
|
||||
bra .3
|
||||
|
||||
.2 >SYSCALL GetMemPtr
|
||||
.3 >PUSHYA
|
||||
|
||||
|
@ -92,8 +93,9 @@ CS.RUN >LDYA L.MSG0
|
|||
.7 >INC.G FILE.ID
|
||||
cmp #K.OF.MAX+1
|
||||
bne .1
|
||||
.8 lda #0 tell TSKMGR that all done ok, but
|
||||
sec we do not want to stay in memory
|
||||
|
||||
.8 lda #0
|
||||
sec
|
||||
.9 rts
|
||||
*--------------------------------------
|
||||
CS.EVENT sec
|
||||
|
|
Loading…
Reference in New Issue
Block a user