Z88 Developers' Notes | ||
---|---|---|
Contents | Contents of System Calls |
OS_Poll, poll for an application
RST 20H, DEFW $FC06
IN:
IX = 0, fetch first application in the machine IX <> 0 (current application handle), fetch next applicationOUT, if call successfull:
Fc = 0 IX = new application handleOUT, if call failed:
Fc = 1 A = RC_EOF, no more applications available (IX now invalid)Registers changed after return:
..BCDEHL/..IY same AF....../IX.. differentNotes:
Internal operating system usage.Bugs:
An invalid input application handle also results in RC_EOF.
-Related system 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