Mercurial > hg > Members > kono > nitros9-code
annotate level2/modules/kernel/fsuser.asm @ 3195:6eb2edad80d8
L2: Introduce symbol KrnBlk to define kernel block number
This is the block number that the kernel is loaded into. This is
platform-specific, a function of the behaviour of the platform MMU/DAT.
CRCs are unaffected by this change.
author | Neal Crook <foofoobedoo@gmail.com> |
---|---|
date | Thu, 01 Jun 2017 22:13:49 +0100 |
parents | 039ddb7c8ad7 |
children |
rev | line source |
---|---|
1345 | 1 ************************************************** |
2 * System Call: F$SUser | |
3 * | |
4 * Function: Set User ID number | |
5 * | |
6 * Input: Y = Desired user ID number | |
7 * | |
8 * Output: None | |
9 * | |
3123
039ddb7c8ad7
l2 kernel: Remove tabs and trailing whitespace, align comments
Neal Crook <foofoobedoo@gmail.com>
parents:
1345
diff
changeset
|
10 * Error: CC = C bit set; B = error code |
1345 | 11 * |
1145 | 12 FSUser ldx <D.Proc get current process dsc ptr |
13 ldd R$Y,u get requested user number | |
14 std P$User,x save new user # in process descriptor | |
15 clrb no error | |
16 rts and return |