OS_Poll, Poll for an application

Register parameters

RST 20H, DEFW $FC06
 IN:
     IX = 0, fetch first application in the machine
     IX <> 0 (current application handle), fetch next application

OUT, if call successful:
     Fc = 0
     IX = new application handle
OUT, if call failed:
     Fc = 1
     A = RC_EOF, no more applications available (IX now invalid)

Registers changed after return:
     ..BCDEHL/..IY same
     AF....../IX.. different

Notes

Internal operating system usage. 

 An invalid input application handle also result in RC_EOF.

Related calls

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

web analytics