Z88 Developers' Notes
Contents   Contents of System Calls

DC_Pol, poll for card usage

RST 20H, DEFW $220C

IN:
A = card slot (0 to 3), 0 is internal
OUT:
Fz = 1:   No application active in slot
Fz = 0:   Application(s) are active in that slot
Registers changed after return:
A.BCDEHL/IXIY same
.F....../.... different


Notes:

Internal operating system usage.

This routine is used by the card manager routine (part of the interruption code) to verify if there was a card before removal. It is the long bleep after an application card removal with active process.

Bugs:
None
Related system calls:
OS_Poll, poll for an application
OS_Stk, stack the current process (application)
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