Z88 Developers' Notes
Contents   Contents of System Calls

OS_Ent, enter an application

RST 20H, DEFW $FA06

IN:

     IX = application handle returned from a previous OS_Poll call.
     C = dynamic process ID
     BHL = B <> 0, start instantiation (pointer to stack'ed process)
     B = 0, start new process (application)
OUT, if call failed:
     Fc = 1
          A = RC_ROOM, no room to start application
          A = RC_HAND, bad handle
Notes:
Internal operating system usage.
If unable to start, the stack remains at constant level.
Bugs:

Related system calls:

OS_Poll, poll for an application
DC_Pol, poll for card usage
OS_Stk, stack the current process (application)
OS_Exit, exit an application
OS_Bye, exit application
DC_Bye, exiting current application
OS_Use, process card usage
DC_Ent, enter new application
DC_Nam, name current application