mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-25 20:33:13 +00:00
Kernel 0.93
This commit is contained in:
parent
dc1fbce88f
commit
dbf5c5b49d
Binary file not shown.
@ -7,6 +7,7 @@ NEW
|
||||
*--------------------------------------
|
||||
.INB INC/MACROS.I
|
||||
.INB INC/A2OSX.I
|
||||
.INB INC/LIBCRYPT.I
|
||||
*--------------------------------------
|
||||
* Zero Page Segment, up to 32 bytes
|
||||
*--------------------------------------
|
||||
@ -103,7 +104,18 @@ CS.RUN.ROOT sec
|
||||
bcs .9
|
||||
|
||||
jsr CS.RUN.GetStr
|
||||
clc
|
||||
bcs .9
|
||||
|
||||
>PUSHEA.G PW+S.PW.PASSWD
|
||||
>PUSHW ZPStrPtr
|
||||
>LIBCALL hLIBCRYPT,LIBCRYPT.MD5
|
||||
|
||||
>LEA.G PW+S.PW.PASSWD
|
||||
>SYSCALL puts
|
||||
|
||||
lda #0
|
||||
sec
|
||||
|
||||
.9 rts
|
||||
*--------------------------------------
|
||||
CS.RUN.GetStr stz ZPStrLen
|
||||
@ -185,8 +197,8 @@ CS.END
|
||||
* Initialized DATA
|
||||
*--------------------------------------
|
||||
MSG.USAGE .AZ "Usage : USERADD username\r\n"
|
||||
MSG.ROOTPWD1 .AZ "Please enter ROOT password : "
|
||||
MSG.ROOTPWD2 .AZ "Please retype ROOT password : "
|
||||
MSG.ROOTPWD1 .AZ "\r\nPlease enter ROOT password : "
|
||||
MSG.ROOTPWD2 .AZ "\r\nPlease retype ROOT password : "
|
||||
MSG.BS .DA #C.BS,#C.SPACE,#C.BS,#0
|
||||
*--------------------------------------
|
||||
LIBCRYPT .AZ "libcrypt"
|
||||
|
Loading…
Reference in New Issue
Block a user