| Z88 Developers' Notes | ||
|---|---|---|
| Contents | Contents of System Calls | |
DC_Sp, handle Director/CLI settings
RST 20H, DEFW $180C
IN:
C = reason code DQ_Dev ($00), define default device DQ_Dir ($03), define default directory DQ_Fnm ($06), define filename match string B = 0, always HL = points to a null-terminated string, the argument
OUT:
Fc = 0, Successful Fc = 1, A = RC error if failure
Registers affected after return:
..BCDEHL/IXIY same AF....../.... different
Notes:
Internal operating system usage.
DC_SP is a subcall of OS_SP, use OS_SP instead.
Attribute (Dev, Dir, Fnm) is set into Filer process if it is running, otherwise by Index.
If DQ_Dev argument points to null byte, PA_Dev is used as source.
Works if string at HL is terminated by a control-char ($00-$1F).
Bugs: -
Related calls:
DC_Sp, DC specify
DC_Nq, DC enquire
OS_Sp, specify
OS_NQ, enquire