/
OS_Stk, Stack file current process

OS_Stk, Stack file current process

Register parameters

RST 20H, DEFW $F806
IN:  -
OUT, if call successful:
     Fc = 0
     HL = process handle
	 B  = 1, always

OUT, if call failed:
     Fc = 1
          A = RC_ROOM, no room to stack process information

Registers changed after return:
     ...CDE../IXIY same
     AFB...HL/.... different 

Notes

Internal operating system usage.

Process handle contains the stacked process environment pointers. The help flags refers to the help front DOR if existing.

A stacked process environment consists of:

          stack pointer       SP
          stack frame         at [SP;ST.END]
          registers           part of stack
          static workspace    part of stack
          handles             part of stack
          segment registers   described by USRSG0/1/2
          windows
          map(s)
          return PC           RESUME (in OS_In)

Related calls

OS_Poll, poll for an application
DC_Pol, poll for card usage
OS_Ent, enter an application
DC_Ent, enter new application
DC_Nam, name current application
OS_Exit, exit an application
OS_Bye, exit application
DC_Bye, exiting current application
OS_Use, process card usage

Related content

OS_Exit, Quit process (application)
OS_Exit, Quit process (application)
More like this
OS_Ent, Enter an application
OS_Ent, Enter an application
More like this
DC_Ent, Enter process
DC_Ent, Enter process
More like this
OS_Uash, Update application static handle in stacked process environment
OS_Uash, Update application static handle in stacked process environment
More like this
Process Management and OZ information
Process Management and OZ information
More like this
DC_Bye, Exit current process
DC_Bye, Exit current process
More like this

web analytics