Mercurial > hg > Members > kono > nitros9-code
view level2/modules/kernel/fid.asm @ 2118:7fca19b7c923
ChangeLog udpated
FSRqMem optimization added
author | boisy |
---|---|
date | Fri, 24 Aug 2007 03:30:33 +0000 |
parents | ca83286ded5b |
children |
line wrap: on
line source
************************************************** * System Call: F$ID * * Function: Return's caller's process ID * * Input: None * * Output: A = Caller's process ID * Y = User ID * * Error: CC = C bit set; B = error code * FID ldx <D.Proc get current process pointer lda P$ID,x get ID sta R$A,u save it ldd P$User,x get user # std R$Y,u save it clrb clear error rts