<CR> <LF> Output -- CRLF and LCRLF
Conditional Input -- CONDIN
General Input Routines -- CST, CIN, and RIN
General Output Routines -- COUT, LOUT, POUT, CCOUT, CLOUT, CPOUT
:<CR> <LF> Output -- CRLF and LCRLF
Routine Names: CRLF, LCRLF
Function:
Print <CR> and <LF> on CON: (CRLF) or LST: (LCRLF).
Inputs: -None-
Outputs: -None- (<CR> <LF> is printed)
Registers Affected: -None-
SYSLIB Routines Called: POUT (for CRLF); LOUT (for LCRLF)
Special Error Conditions: -None-
:Conditional Input -- CONDIN
Routine Name: CONDIN
Function�
Inpu� � characte� fro� CON�� i� on� i� available� �
otherwise�� retur� � fla� statin� tha� � characte� i� no� �
availabl� o� CON:.
Inputs: -None-
Outputs: A = character typed at CON: (if available)
Zero Flag is set (Z) if no character is available
Zero Flag is reset (NZ) if character is available
Registers Affected: PSW
SYSLIB Routines Called: CST, CIN
Special Error Conditions: -None-
:General Input Routines -- CST, CIN, RIN
Routine Name: CST
Function�
Inpu� th� statu� o� CON�� i� Registe� A�� I� Rea� Dat� �
Available� A=0� otherwise� A=1.
Inputs: -None-
Outputs: A = Console Status
0 --> Read Data Available (RDA)
1 --> Read Data Not Available (Not RDA)
Registers Affected: PSW
SYSLIB Routines Called: -None-
Special Error Conditions: -None-
Routine Names: CIN, RIN
Function� Inpu� characte� fro� CON� (CIN� o� RDR� (RIN� i� Registe� A.
Inputs: -None-
Outputs: A = Character input from CON: or RDR:
Registers Affected: PSW
SYSLIB Routines Called: -None-
Special Error Conditions: -None-
:General Output Routines -- COUT, LOUT, POUT, CCOUT, CLOUT, CPOUT
Routine Names: COUT, LOUT, POUT
Function�
Outpu� characte� i� Registe� � t� CON�� (COUT)�� LST� �
(LOUT)� o� PUN� (POUT).
Inputs: A = Character to output
Outputs: -None- (Character is output)
Registers Affected: -None-
SYSLIB Routine Called: -None-
Special Error Conditions: -None-
Routine Names: CCOUT, CLOUT, CPOUT
Function�
Outpu� characte� i� Registe� � t� CON�� (COUT)�� LST� �
(LOUT)�� o� PUN�� (POUT� wit� contro� characte� processing�� Al� �
character� wit� ASCI� code� les� tha� <SP� (spac� � 20H� i� valu� �
excep� <NULL>�� <BEL>�� <BS>�� <LF>�� an� <CR� ar� outpu� a� a� �
uparro�� (^�� followe� b� th� correspondin� lette� generate� b� �
addin� 40� t� th� characte� valu� (i.e.�� � output� a� "^A"� � a� �
"^B"�� etc.)�� Again� th� character� les� tha� <SP� i� valu� NO� �
outpu� i� thi� manne� ar� --
<NULL> <BEL> <BS> <LF> <CR>
An� characte� o� valu� greate� tha� <SP� i� outpu� normally.
Inputs: A = Character to output
Outputs: -None- (Character/Code is output)
Registers Affected: PSW (only the Flags;
Register A is NOT affected)
SYSLI� Routine� Called� COU� (fo� CCOUT)�
LOU� (fo� CLOUT)� POU� (fo� CPOUT)
Special Error Conditions: -None-