view level2/modules/kernel/fsuser.asm @ 1814:3a1eadaa547e

Corrected so dragon options compiled into rel.asm for both Dragon64 and Alpha
author afra
date Wed, 20 Apr 2005 21:19:55 +0000
parents 1da8ab9ba433
children 039ddb7c8ad7
line wrap: on
line source

**************************************************
* System Call: F$SUser
*
* Function: Set User ID number
*
* Input:  Y = Desired user ID number
*
* Output: None
*
* Error:  CC = C bit set; B = error code       
*
FSUser   ldx   <D.Proc      get current process dsc ptr
         ldd   R$Y,u        get requested user number
         std   P$User,x     save new user # in process descriptor
         clrb               no error
         rts                and return