Z88 Developers' Notes
Contents   Contents of System Calls

DC_Nq, handle Director/CLI enquiries

RST 20H, DEFW $160C

IN:
C = reason code
B = 0, always
The reason codes are:
Value     Name        Description
$00 DQ_Dev Get default device
$03 DQ_Dir Get default directory
$06 DQ_Fnm Get filename match string
$09 DQ_Dmh Get the director memory handle
$0C DQ_Inp *** NQ_Ihn ($8615) link (IX=$0006 always)
$1F DQ_Out *** NQ_Ohn ($8618) link (IX=$0007 always)
$12 DQ_Prt *** NQ_Phn ($8609) link (IX=$0003 always)
$15 DQ_Tin Get input-T handle
$18 DQ_Tot Get output-T handle
$1B DQ_Tpr Get printer-T handle
$1E DQ_Chn Reset serial port and get NQ_Chn ($8612)
OUT:
Fc = 0:   Success, result in IX
Fc = 1:   A = RC_UNK ($03)
Notes:
Internal operating system usage.
This call is used by the OS_NQ if B = $8C.
Some reasons are specific, some of them are direct link to the OS_NQ.
For DQ_Inp, DQ_Out, DQ_Prt use OS_NQ.
Bugs: