mirror of
https://github.com/A2osX/A2osX.git
synced 2024-08-10 16:29:28 +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 (ZPBufPtr1),y
|
||||||
>PUSHB (ZPBufPtr2),y
|
>PUSHB (ZPBufPtr2),y
|
||||||
>PUSHBI 5
|
>PUSHBI 5
|
||||||
>SYSCALL printf
|
>SYSCALL printf2
|
||||||
|
|
||||||
ply
|
ply
|
||||||
rts
|
rts
|
||||||
|
@ -108,9 +108,9 @@ CS.RUN lda #C.SPACE
|
|||||||
|
|
||||||
.97 lda #E.SYN
|
.97 lda #E.SYN
|
||||||
.98 pha
|
.98 pha
|
||||||
|
>PUSHW L.MSG.USAGE
|
||||||
>PUSHBI 0
|
>PUSHBI 0
|
||||||
>LDYA L.MSG.USAGE
|
>SYSCALL printf2
|
||||||
>SYSCALL printf
|
|
||||||
pla
|
pla
|
||||||
sec
|
sec
|
||||||
.9 rts
|
.9 rts
|
||||||
@ -212,9 +212,9 @@ CS.RUN.OUT ldx FieldNum
|
|||||||
|
|
||||||
rts
|
rts
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
CS.RUN.PRINTCR >PUSHBI 0
|
CS.RUN.PRINTCR >PUSHW L.MSG.CRLF
|
||||||
>LDYA L.MSG.CRLF
|
>PUSHBI 0
|
||||||
>SYSCALL printf
|
>SYSCALL printf2
|
||||||
|
|
||||||
rts
|
rts
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
|
@ -98,9 +98,9 @@ CS.RUN
|
|||||||
bra .10 scan for any other args
|
bra .10 scan for any other args
|
||||||
.97 lda #E.SYN
|
.97 lda #E.SYN
|
||||||
.98 pha
|
.98 pha
|
||||||
|
>PUSHW L.MSG.USAGE
|
||||||
>PUSHBI 0
|
>PUSHBI 0
|
||||||
>LDYA L.MSG.USAGE
|
>SYSCALL printf2
|
||||||
>SYSCALL printf
|
|
||||||
pla
|
pla
|
||||||
sec
|
sec
|
||||||
.9 rts
|
.9 rts
|
||||||
@ -189,10 +189,10 @@ CS.RUN.PRINT >LDYA ZPBufPtr
|
|||||||
.6 lda bLineNum
|
.6 lda bLineNum
|
||||||
bpl .7
|
bpl .7
|
||||||
|
|
||||||
|
>PUSHW L.MSG.NUMLINE
|
||||||
>PUSHW LineNum
|
>PUSHW LineNum
|
||||||
>PUSHBI 2
|
>PUSHBI 2
|
||||||
>LDYA L.MSG.NUMLINE
|
>SYSCALL printf2
|
||||||
>SYSCALL printf
|
|
||||||
bcs .9
|
bcs .9
|
||||||
.7 >LDYA ZPBufPtr
|
.7 >LDYA ZPBufPtr
|
||||||
>SYSCALL puts
|
>SYSCALL puts
|
||||||
|
@ -69,8 +69,8 @@ CS.RUN ldy #S.PS.ARGC
|
|||||||
>STA.G Signal
|
>STA.G Signal
|
||||||
bra .1
|
bra .1
|
||||||
|
|
||||||
.9 >PUSHBI 0
|
.9 >PUSHW L.MSG.USAGE
|
||||||
>LDYA L.MSG.USAGE
|
>PUSHBI 0
|
||||||
>SYSCALL printf
|
>SYSCALL printf
|
||||||
|
|
||||||
lda #E.SYN
|
lda #E.SYN
|
||||||
|
@ -74,6 +74,7 @@ CS.RUN >LDYA L.MSG0
|
|||||||
adc /S.FD.DEV
|
adc /S.FD.DEV
|
||||||
|
|
||||||
bra .3
|
bra .3
|
||||||
|
|
||||||
.2 >SYSCALL GetMemPtr
|
.2 >SYSCALL GetMemPtr
|
||||||
.3 >PUSHYA
|
.3 >PUSHYA
|
||||||
|
|
||||||
@ -92,8 +93,9 @@ CS.RUN >LDYA L.MSG0
|
|||||||
.7 >INC.G FILE.ID
|
.7 >INC.G FILE.ID
|
||||||
cmp #K.OF.MAX+1
|
cmp #K.OF.MAX+1
|
||||||
bne .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
|
.9 rts
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
CS.EVENT sec
|
CS.EVENT sec
|
||||||
|
Loading…
Reference in New Issue
Block a user