Kernel 0.93+

This commit is contained in:
Rémy GIBERT 2019-07-29 22:59:00 +02:00
parent 61f832d23a
commit 59f9e298fd
3 changed files with 8 additions and 6 deletions

Binary file not shown.

View File

@ -578,11 +578,13 @@ PS.AddYAp12ArgSize
* `>SYSCALL kill`
* ## RETURN VALUE
* A = Child PSID
*\--------------------------------------
*\--------------------------------------
K.Kill.PID .BS 1
*--------------------------------------
K.Kill cmp #0
beq .99 CS
sta .1+1
sta K.Kill.PID
jsr CORE.GetPSByID
bcs .99
@ -623,8 +625,8 @@ K.Kill.2 ldy #S.PS.hSID
.11 ldy .10,x
lda (ZPPtr1),y
bne .12
beq .12
jsr K.FreeMem
.12 dex
@ -639,7 +641,7 @@ K.Kill.2 ldy #S.PS.hSID
ldx #SYS.fclose
jsr K.SYSCALL2.BANK
.1 lda #$ff SELF MODIFIED
.1 lda K.Kill.PID
ldx #0

View File

@ -33,7 +33,7 @@ K.Open jsr PFT.YAToMLIPATH
*--------------------------------------
UNISTD.Open ldx #5 /DEV/
cpx K.MLI.PATH
bcs .9
bcs IO.OPEN.REG
.1 lda K.MLI.PATH,x
cmp IO.DEV.FIFO-1,x