OS_Exit, Quit process (application)

Register parameters

RST 20H, DEFW $F606
     IX = application handle returned from a previous OS_Poll
     BHL = pointer to stacked process information:
          B = 0, exit current process
          B <> 0, start instantiation of HL process handle and force OS_Bye via RC_QUIT

OUT, if call failed:
     Fc = 1
          A = RC_???
Registers changed after return:
     ..BCDEHL/IXIY same
     AF....../.... different 


Internal operating system usage.

Related system calls

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

web analytics