Z88 Developers' Notes
Contents   Contents of System Calls

DC_Icl - Invoke new CLI

RST 20H, DEFW $140C
 

IN:  HL = points to a null-terminated string
     B = 0
     C = length of string

OUT: Fc = 0:   Successful
     Fc = 1:   A = RC_ROOM ($07)

Notes:
This gives the CLI a string to execute. It is used by BASIC's *CLI command and by the Alarm popdown. Via this call all the CLI facilities can be accessed, though often it will be necessary to use the call to execute a file containing a list of CLI commands.

Bugs:
Unreliable if HL points to string in segment 2.