Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
titleRST 20H, DEFW $F806
IN:  -
OUT, if call successful:
     Fc = 0
     HL = process handle
	 B  = help1, flagsalways

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 


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
          return PC           RESUME (in OS_In)
Z88 Team: We believe that ST.END is the top address before the safe workspace of the application. However, we have not verified this.

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