F$AllPrc
From NitrOS-9
Allocate Process Descriptor | Allocates and initializes a 512-byte process descriptor |
OS9 F$AllPrc 103F 4B |
Entry Conditions
None
Exit Conditions
U process descriptor pointer
Error Output
CC carry set on error
B error code, if any
Additional Information
- The process descriptor table houses the address of the descriptor. Initialization of the process descriptor consists of clearing the first 256 bytes of the descriptor, setting up the state as a system state, and marking as unallocated as much of the DAT image as the system allows—typically, 60-64 kilobytes.
- The call also branches to the F$SRqMem call.
krnp2