Kernel 0.93+

This commit is contained in:
Rémy GIBERT 2019-07-19 16:05:22 +02:00
parent 18a553fbf6
commit fdc45a02f9
8 changed files with 42 additions and 27 deletions

Binary file not shown.

View File

@ -232,9 +232,6 @@ CS.RUN jsr CL.Init
>PUSHEA.G StatBuf >PUSHEA.G StatBuf
>LDYA L.HOME.PROFILE >LDYA L.HOME.PROFILE
>SYSCALL puts
>LDYA L.HOME.PROFILE
* >DEBUG
>SYSCALL STAT >SYSCALL STAT
bcs CS.RUN.LOOP no profile... bcs CS.RUN.LOOP no profile...

View File

@ -256,9 +256,9 @@ SYS.ExecV .EQ $A2
* .EQ $A4 * .EQ $A4
SYS.Kill .EQ $A6 SYS.Kill .EQ $A6
SYS.GetPWUID .EQ $A8 * .EQ $A8
SYS.GetPWName .EQ $AA * .EQ $AA
SYS.PutPW .EQ $AC * .EQ $AC
* .EQ $AE * .EQ $AE
SYS.Args2ArgV .EQ $B0 SYS.Args2ArgV .EQ $B0
@ -271,24 +271,24 @@ SYS.SetEnv .EQ $BA
SYS.GetEnv .EQ $BC SYS.GetEnv .EQ $BC
SYS.UnsetEnv .EQ $BE SYS.UnsetEnv .EQ $BE
*-------------------------------------- *--------------------------------------
*SYS.FAdd .EQ $C0 * .EQ $C0
*SYS.FSub .EQ $C2 * .EQ $C2
*SYS.FMult .EQ $C4 * .EQ $C4
*SYS.FDiv .EQ $C6 * .EQ $C6
*SYS.FPwr .EQ $C8 * .EQ $C8
* .EQ $CA * .EQ $CA
SYS.LRIntF .EQ $CC SYS.LRIntF .EQ $CC
SYS.Float .EQ $CE SYS.Float .EQ $CE
*SYS.Log .EQ $D0 SYS.GetPWUID .EQ $D0
*SYS.Sqr .EQ $D2 SYS.GetPWName .EQ $D2
*SYS.Exp .EQ $D4 SYS.PutPW .EQ $D4
*SYS.Cos .EQ $D6 * .EQ $D6
*SYS.Sin .EQ $D8 * .EQ $D8
*SYS.Tan .EQ $DA * .EQ $DA
*SYS.ATan .EQ $DC * .EQ $DC
* .EQ $DF * .EQ $DF
*-------------------------------------- *--------------------------------------
SYS.GetMem .EQ $E0 SYS.GetMem .EQ $E0

View File

@ -491,6 +491,12 @@ CORE.PSFree sta .10+1 Save PS ID
bcs .9 bcs .9
>STYA ZPPtr1 >STYA ZPPtr1
ldy #S.PS.hSID
lda (ZPPtr1),y
tax
lda S.Table.hSession-1,x
jsr K.FreeMem
ldy #S.PS.hSS ldy #S.PS.hSS
jsr .8 jsr .8

View File

@ -1041,6 +1041,13 @@ PwdMgrInit >LDYAI MSG.PWD
>STYA pSession >STYA pSession
stx S.Table.hSession stx S.Table.hSession
phy
ldy #S.PS.ZP.SESSION+1
sta (pPS),y
dey
pla
sta (pPS),y
lda #1 lda #1
ldy #S.PS.hSID ldy #S.PS.hSID
sta (pPS),y sta (pPS),y

View File

@ -101,9 +101,9 @@ K.SYSCALL .DA K.GetMemStat $00
.DA K.ExecV .DA K.ExecV
.DA 0 .DA 0
.DA K.Kill .DA K.Kill
.DA K.GetPWUID .DA 0
.DA K.GetPWName .DA 0
.DA K.PutPW .DA 0
.DA 0 .DA 0
.DA K.Args2ArgV $B0 .DA K.Args2ArgV $B0
@ -124,9 +124,9 @@ K.SYSCALL .DA K.GetMemStat $00
.DA K.LRIntF .DA K.LRIntF
.DA K.Float .DA K.Float
.DA 0 $D0 .DA K.GetPWUID $D0
.DA 0 .DA K.GetPWName
.DA 0 .DA K.PutPW
.DA 0 .DA 0
.DA 0 .DA 0
.DA 0 .DA 0

View File

@ -186,6 +186,9 @@ PS.CreateChild ldx #0
ldy #S.PS.hSID ldy #S.PS.hSID
lda (ZPPtr1),y lda (ZPPtr1),y
sta (PS.NewPSPtr),y sta (PS.NewPSPtr),y
tax
lda S.Table.hSession-1,x
jsr K.GetMemPtr jsr K.GetMemPtr
phy phy
ldy #S.PS.ZP.SESSION+1 ldy #S.PS.ZP.SESSION+1
@ -194,6 +197,8 @@ PS.CreateChild ldx #0
pla pla
sta (PS.NewPSPtr),y sta (PS.NewPSPtr),y
jsr Mem.IncRefCnt
lda #S.PS.F.HOLD lda #S.PS.F.HOLD
bit PS.Flags bit PS.Flags
beq .8 beq .8

View File

@ -51,13 +51,13 @@ A2osX.D1 .PH $D000
.EP .EP
A2osX.D2 .PH $D000 A2osX.D2 .PH $D000
.DA #RRAMWRAMBNK2 .DA #RRAMWRAMBNK2
.INB USR/SRC/SYS/KERNEL.S.BIN
.INB USR/SRC/SYS/KERNEL.S.STRING .INB USR/SRC/SYS/KERNEL.S.STRING
.INB USR/SRC/SYS/KERNEL.S.TIME .INB USR/SRC/SYS/KERNEL.S.TIME
.INB USR/SRC/SYS/KERNEL.S.BIN
.INB USR/SRC/SYS/KERNEL.S.PS .INB USR/SRC/SYS/KERNEL.S.PS
.INB USR/SRC/SYS/KERNEL.S.ARG
.INB USR/SRC/SYS/KERNEL.S.ENV .INB USR/SRC/SYS/KERNEL.S.ENV
.INB USR/SRC/SYS/KERNEL.S.PWD .INB USR/SRC/SYS/KERNEL.S.PWD
.INB USR/SRC/SYS/KERNEL.S.ARG
.EP .EP
A2osX.E0 .PH $E000 A2osX.E0 .PH $E000
.INB USR/SRC/SYS/KERNEL.S.JMP .INB USR/SRC/SYS/KERNEL.S.JMP