Kernel 0.93++

This commit is contained in:
Rémy GIBERT 2020-01-29 22:45:06 +01:00
parent 5e329c153e
commit eb00cdcee7
6 changed files with 16 additions and 14 deletions

Binary file not shown.

View File

@ -251,7 +251,7 @@ CS.RUN.Print phy
>PUSHB (ZPBufPtr1),y
>PUSHB (ZPBufPtr2),y
>PUSHBI 5
>SYSCALL printf
>SYSCALL printf2
ply
rts

View File

@ -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
*--------------------------------------

View File

@ -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

View File

@ -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

View File

@ -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