The following calls return system handles in IX:
NQ_Dmh
NQ_Dmh ($8C09), Fetch Director special memory handle (system use only)
IN: BC = NQ_Dmh OUT: IX = memory handle Registers changed after return: A.BCDEHL/..IY same .F....../IX.. different
NQ_Inp
NQ_Inp ($8C0C), Read std. input handle
IN: BC = NQ_Inp OUT: IX = input stream handle Registers changed after return: A.BCDEHL/..IY same .F....../IX.. different
NQ_Out
NQ_Out ($8C0F), Read std. output handle
IN: BC = NQ_Out OUT: IX = output stream handle Registers changed after return: A.BCDEHL/..IY same .F....../IX.. different
NQ_Prt
NQ_Prt ($8C12), Read printer stream handle
IN: BC = NQ_Prt OUT: IX = printer stream handle Registers changed after return: A.BCDEHL/..IY same .F....../IX.. different
NQ_Tin
NQ_Tin ($8C15), Read input-T handle
IN: BC = NQ_Tin OUT: IX = input tee stream handle Registers changed after return: A.BCDEHL/..IY same .F....../IX.. different
NQ_Tot
NQ_Tot ($8C18), Read output-T handle
IN: BC = NQ_Tot OUT: IX = output tee stream handle Registers changed after return: A.BCDEHL/..IY same .F....../IX.. different
NQ_Tpr
NQ_Tpr ($8C1B), Read printer-T stream handle
IN: BC = NQ_Tpr OUT: IX = printer tee stream handle Registers changed after return: A.BCDEHL/..IY same .F....../IX.. different
NQ_Chn
NQ_Chn ($8C1E), Read comms handle
IN: BC = NQ_Chn OUT: IX = comms handle Registers changed after return: A.BCDEHL/..IY same .F....../IX.. different