Z88 Developers' Notes
Contents   Contents of System Calls

DC_Gen, screen driver SOH call

RST 20H, DEFW $200C

IN:
HL = SOH buffer address in the screen base file
B = screen base file bank
OUT: 
Fc = 0, success
FC = 1, A = RC_Eof : No CLI running

Registers changed after return:

     ..BCDEHL/IXIY same
     AF....../.... different

Notes:

Internal operating system usage.
Call used to disable printer redirection on SOH escape sequence containing '['. Printer redirection is enabled if the sequence contain ']'. It avoids to send rubbish to printer during CLI redirection, for example the sequence 1, '2', '.', '[' is sent before window definition of the Filer and 1, '2', '.', ']' is sent after.

Bugs:

Related calls:

DC_Icl, Invoke new CLI
DC_In, Read from CLI
DC_Out, Write to CLI
DC_Prt, Print to CLI
DC_Rbd, Rebind streams
DC_Xin, examine CLI input
OS_Cli, CLI interface