To avoid confusion, these blocks are not the data of a stacked process environement (generated by OS_STK), nor the data of a process handle (type $04). Data are directly manipulated by the Index itself (and not OS routines).
Offset | Length | Description |
---|---|---|
$00 | 3 | Link pointer to previous (000000 if last) |
$03 | 1 | Control byte (bit 4 : error in process block) |
$04 | 1 | Length of associated block |
$05 | 1 | Dynamic process id |
$06 | 2 | Handle for Stacked process environement |
$08 | 1 | - |
$09 | 2 | This Block handle |
$0B | 3 | Internal date of suspension |
$0E | 3 | Internal time of suspension |
$11 | 3 | Pointer to associated block (storing pa_dir) |
$14 | 18 | Default device (pa_dev) |
$26 | 1 | '*' star character always |
$27 | 16 | Default directory (pa_dir) (16 first letters) |
$37 | 17 | Process name (dc_name) |
The dynamic process id defines the process number. As there can be several instantiation of the same application, the application handle will be the same for these instantiation as it is the same application. Another block might be associated with if PA_DIR is more than 16 letters, it will also contain this long PA_DIR. For more informations, read the handle structure in 'handles.pip'.
Thierry Peycru (Zlab), March 1998.