Z88 Developers' Notes
Contents   Contents of System Calls

OS_Fth, free tri-handle

RST 20H, DEFW $DE06

IN:

     A = Tri-handle subtype
         TH_FILT ($F0), free filter handle
         TH_WMG ($F1), free wildcard manager handle
         TH_ALM ($F2), free alarm handle
     IX = tri-handle

OUT, if call successful:

     Fc = 0, handle freed
          IX = 0
          BHL = Tri-handle contents

OUT, if call failed:

     Fc = 1
          A = RC_HAND, bad handle

Registers changed after return:

     ...CDE../..IY same
     AFB...HL/IX.. different

Notes:

Internal operating system usage.

Bugs:

Related system calls:

OS_Vth, verify tri-handle
OS_Gth, get tri-handle