home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / simtel / sigm / vols000 / vol089 / syslib6.hlp < prev    next >
Text File  |  1985-02-09  |  3KB  |  79 lines

  1. <CR> <LF> Output -- CRLF and LCRLF
  2. Conditional Input -- CONDIN
  3. General Input Routines -- CST, CIN, and RIN
  4. General Output Routines -- COUT, LOUT, POUT, CCOUT, CLOUT, CPOUT
  5. :<CR> <LF> Output -- CRLF and LCRLF
  6.      Routine Names:  CRLF, LCRLF
  7.      Function:
  8.           Print <CR> and <LF> on CON: (CRLF) or LST: (LCRLF).
  9.      Inputs:  -None-
  10.      Outputs:  -None- (<CR> <LF> is printed)
  11.      Registers Affected:  -None-
  12.      SYSLIB Routines Called:  POUT (for CRLF); LOUT (for LCRLF)
  13.      Special Error Conditions:  -None-
  14. :Conditional Input -- CONDIN
  15.      Routine Name:  CONDIN
  16.      Function║
  17.           Inpu⌠á ßá characte≥á froφ CON║á iµá onσá i≤á available╗ ì
  18. otherwise¼á returεá ßá flaτá statinτá tha⌠á ßá characte≥á i≤á no⌠ ì
  19. availablσ oε CON:.
  20.      Inputs:  -None-
  21.      Outputs:  A = character typed at CON: (if available)
  22.                Zero Flag is set (Z) if no character is available
  23.                Zero Flag is reset (NZ) if character is available
  24.      Registers Affected:  PSW
  25.      SYSLIB Routines Called:  CST, CIN
  26.      Special Error Conditions:  -None-
  27. :General Input Routines -- CST, CIN, RIN
  28.      Routine Name:  CST
  29.      Function║
  30.           Inpu⌠ thσ statu≤ oε CON║á iε Registe≥ A«á  Iµ ReaΣ Datß ì
  31. Available¼ A=0╗ otherwise¼ A=1.
  32.      Inputs:  -None-
  33.      Outputs:  A = Console Status
  34.                    0 --> Read Data Available (RDA)
  35.                    1 --> Read Data Not Available (Not RDA)
  36.      Registers Affected:  PSW
  37.      SYSLIB Routines Called:  -None-
  38.      Special Error Conditions:  -None-
  39.  
  40.      Routine Names:  CIN, RIN
  41.      Function║ Inpu⌠ characte≥ froφ CON║ (CIN⌐ o≥ RDR║ (RIN⌐ iε Registe≥ A.
  42.      Inputs:  -None-
  43.      Outputs:  A = Character input from CON: or RDR:
  44.      Registers Affected:  PSW
  45.      SYSLIB Routines Called:  -None-
  46.      Special Error Conditions:  -None-
  47. :General Output Routines -- COUT, LOUT, POUT, CCOUT, CLOUT, CPOUT
  48.      Routine Names:  COUT, LOUT, POUT
  49.      Function║
  50.           Outpu⌠á characte≥ iε Registe≥ ┴ t∩á CON║á (COUT)¼á LST║ ì
  51. (LOUT)¼ o≥ PUN║ (POUT).
  52.      Inputs:  A = Character to output
  53.      Outputs:  -None- (Character is output)
  54.      Registers Affected:  -None-
  55.      SYSLIB Routine Called:  -None-
  56.      Special Error Conditions:  -None-
  57.  
  58.      Routine Names:  CCOUT, CLOUT, CPOUT
  59.      Function║
  60.           Outpu⌠á characte≥ iε Registe≥ ┴ t∩á CON║á (COUT)¼á LST║ ì
  61. (LOUT)¼á o≥ PUN║á (POUT⌐ witΦ contro∞ characte≥ processing«á  Al∞ ì
  62. character≤ witΦ ASCI╔ code≤ les≤ thaε <SP╛ (spacσ ╜ 20H⌐ iε valuσ ì
  63. excep⌠á <NULL>¼á <BEL>¼á <BS>¼á <LF>¼á anΣ <CR╛ arσ outpu⌠ a≤á aε ì
  64. uparro≈á (^⌐á followeΣ b∙ thσ correspondinτ lette≥á generateΣá b∙ ì
  65. addinτ 40╚ t∩ thσ characte≥ valuσ (i.e.¼á ▒ output≤ a≤ "^A"¼ ▓ a≤ ì
  66. "^B"¼á etc.)«á  Again¼ thσ character≤ les≤ thaε <SP╛ iε valuσ NO╘ ì
  67. outpu⌠ iε thi≤ manne≥ arσ --
  68.  
  69.           <NULL>  <BEL>  <BS>  <LF>  <CR>
  70.  
  71. An∙ characte≥ oµ valuσ greate≥ thaε <SP╛ i≤ outpu⌠ normally.
  72.      Inputs:  A = Character to output
  73.      Outputs:  -None- (Character/Code is output)
  74.      Registers Affected:  PSW (only the Flags;
  75.                               Register A is NOT affected)
  76.      SYSLI┬ Routine≤ Called║  COU╘ (fo≥ CCOUT)╗
  77.                               LOU╘ (fo≥ CLOUT)╗ POU╘ (fo≥ CPOUT)
  78.      Special Error Conditions:  -None-
  79.