home *** CD-ROM | disk | FTP | other *** search
- <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-