From 055cecb734fa7c3717a2cbc63579153c663c1fb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20GIBERT?= Date: Tue, 4 Feb 2020 17:27:37 +0100 Subject: [PATCH] Kernel 0.93++ --- .Floppies/A2OSX.BUILD.po | Bin 33553920 -> 33553920 bytes BIN/WHO.S.txt | 10 ++++-- SBIN/LOGIN.S.txt | 73 ++++++++++++++++++++++----------------- 3 files changed, 48 insertions(+), 35 deletions(-) diff --git a/.Floppies/A2OSX.BUILD.po b/.Floppies/A2OSX.BUILD.po index c964a5f9785d0e33243c68cfebdefe27ef1b4306..868995af5389c15e6984cbef857b41afd43bcb4d 100644 GIT binary patch delta 8352 zcmZ{o30#!b`p3_UU;~2!&#a81!{VBbqFLH44FQ!zA%-Q*3WU+Yi->>)mEo8?mYG}S zE3HIAVxpMkmYJ1#)0T_2-s+a+np?ErTiyKs&ifAI*uDSHhwt#dXL-&!&pFR>-bKG( zj9LWR&xD3JVjeyh`dUcOn1{E7)!=R0pzd+q6|rq%Wd4T~D&j-M!i2ujzl&qSnKrOz z%(g9GJuN$J%Rc$SE;Z(0d8_JtEF@1=e(QE|$Hiw9WpCX$^HccCGB=%ciam|C=I>V@ z8C`h#t*sY2el6U3!P!6It&JVO6t4O4K&Q+H6XZN4${BrfFlV_8@8UAro0vayrIM}Uo;K3f9aR+;K?4NaJ z(Z2O(JNFzw1Jm&Bn-ZLDiB9Ju35%Xzf3{VuKBZM|=bq@++g3NBn-ET`5JQ|U=a58K;)KLE6FU;WNZgnBL*g%qh9rBE5ca~x_*S7W zQD2@O-atSeokj=g1#2HhNccV?buCrXIre)MSG7%+two+Um0hv@62qAFKq2r ze{7S(+15*|ENYFmJBKCIwNJYwVg0G*(@jSpW!CZf6PtQF+v2pQ*R(oEqiOrFO-^T9 zyjGOtoDkn`a2|8EJ0N;fA7@)%r>3U%hy%wuyJg`+EGj=-@|Mz@MNI5*niS%!y3;q0Bzc$NHFAb+;w zr&XZBUfBP5`^?5)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m_A|pl<5@H zXH1_neZh2^=}V?FOkXjbW%`=w9MgHGZl-UTzGeE3=>pUDOg}LF$n;O9pP2r|^fS}H znf}A{3)8PmzcKxn>360-R*}>~5(opmKsbm1y+I#f0Fl55Ou!8Kf_@+hM1vTh%CP_| zumL-W1r87g;z0sP1pPr07yx9D3{pTU7zhS|!C(j&3WkB3`~^$^6Tu{q2_}OqkPTd53YZFVKrXljOapmfI>-kFpb%UO zihvswgAz~*%D@aT6U+kFf$PCv!42R>P!2p`HmCrVzzgPpxu6PEgL&X4Py^#zJHT?V0x-A}tOR#~RbVw(1MUVb zU@ce&)`Jb;9&j(X53~XWYy@rKe((Tz5Ih7P29JPE;8Cy{JO&;IPk?stB-jEvz*g`S z*ao(Pr@;=e6Lf-Sz%KAC*bVl8F7O=K3-*EM!G7=pcoDn=4uFH;W$+4k6}$!xf!D!d z@CG;n{s!IzZ-JxW7&s12fVaUr;P2pF@E&*{d;mTKAAytLWAG2~3HTJ80-u4;!582( z_!67}UxBmWYj6&n2i@Qs@GbZbTmavLAHa{`pWr9(FYq(?H~0_u1^fzr1OElTOHb1u HQuqG>%F&B0 diff --git a/BIN/WHO.S.txt b/BIN/WHO.S.txt index 40f1679b..6e24bfd5 100644 --- a/BIN/WHO.S.txt +++ b/BIN/WHO.S.txt @@ -59,6 +59,10 @@ CS.RUN >LDYA L.MSG0 >PUSHW L.MSG1 format >PUSHB SessionID 1 byte SID + ldx SessionID + lda S.Table.hSession-1,x + >PUSHA 1 byte hSession + >PUSHB (ZPSessionPtr) 1 byte PRIVILEGE ldy #S.SESSION.UID @@ -81,7 +85,7 @@ CS.RUN >LDYA L.MSG0 jsr CS.RUN.GETIO >PUSHYA 2 bytes DEV - >PUSHBI 8 total = 8 ... bytes + >PUSHBI 9 total = 9 ... bytes >SYSCALL printf2 bcs .9 @@ -122,8 +126,8 @@ CS.QUIT clc rts *-------------------------------------- CS.END -MSG0 .AZ "SID Privilege UID GID Name Dev" -MSG1 .AZ "%3d %b %3d %3d %16s %s\r\n" +MSG0 .AZ "SID hSD Privilege UID GID Name Dev" +MSG1 .AZ "%3d $%0h %b %3d %3d %16s %s\r\n" *-------------------------------------- .DUMMY .OR 0 diff --git a/SBIN/LOGIN.S.txt b/SBIN/LOGIN.S.txt index b70f8262..a4c74fbb 100644 --- a/SBIN/LOGIN.S.txt +++ b/SBIN/LOGIN.S.txt @@ -13,8 +13,6 @@ NEW .DUMMY .OR ZPBIN ZS.START -ZPUsrID .BS 1 - ZPhBuf .BS 1 ZPBufPtr .BS 2 @@ -32,7 +30,9 @@ ZPGetLineMax .BS 1 ZPhPW .BS 1 ZPPWPtr .BS 2 -ZPhSID .BS 1 +hSession .BS 1 +ZPNewSID .BS 1 +ZPOldSID .BS 1 ZPhFile .BS 1 ZPStrPtr .BS 2 @@ -92,8 +92,12 @@ CS.RUN >LDYAI 33 Enough for HASH jsr CS.RUN.StrOut bcs .9 - lda #1 - sta ZPhSID + ldy #S.PS.hSID + lda (pPS),y + tax + + lda S.Table.hSession-1,x + sta hSession jmp CS.RUN.EXEC .9 rts @@ -170,7 +174,7 @@ CS.RUN.SetUserSession bcs .9 >STYA ZPStrPtr - stx ZPhSID + stx hSession * clc @@ -241,32 +245,33 @@ CS.RUN.CHECKPWD rol ZPbValidUser CS.RUN.CHECK.9 rts *-------------------------------------- -CS.RUN.EXEC -* ldx #1 +CS.RUN.EXEC ldx #1 -*.1 lda S.Table.hSession-1,x -* beq .2 +.1 lda S.Table.hSession-1,x + beq .2 -* inx -* cpx #K.USR.MAX+1 -* bne .1 + inx + cpx #K.USR.MAX+1 + bne .1 -* lda #E.OOH -** sec -* rts + lda #E.OOH +* sec + rts -*.2 stx ZPUsrID -* txa -* ldy #S.PS.hSID -* sta (pPS),y +.2 stx ZPNewSID + ldy #S.PS.hSID + lda (pPS),y + sta ZPOldSID + + txa + sta (pPS),y -* lda ZPhSID -* ldx ZPUsrID -* sta S.Table.hSession-1,x + lda hSession + sta S.Table.hSession-1,x -* ldy #S.PS.hStdIn -* lda (pPS),y -* sta S.Table.hFILE-1,x + ldy #S.PS.hStdIn + lda (pPS),y + sta S.Table.hFILE-1,x >LDYA L.ETCMOTD jsr CS.RUN.DumpFile @@ -278,12 +283,16 @@ CS.RUN.EXEC bcs .9 >SLEEP -* ldx ZPUsrID -* lda S.Table.hSession-1,x -* stz S.Table.hSession-1,x -* stz S.Table.hFILE-1,x -* >SYSCALL freemem - + ldx ZPNewSID + lda S.Table.hSession-1,x + stz S.Table.hSession-1,x + stz S.Table.hFILE-1,x + >SYSCALL freemem + + ldy #S.PS.hSID + lda ZPOldSID + sta (pPS),y + sec .9 rts *--------------------------------------