home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / zsus / z3help / y.lbr / ZSLIB8.HZP / ZSLIB8.HLP
Encoding:
Text File  |  1991-10-09  |  3.8 KB  |  107 lines

  1.  Determine BDOS Type             - BDOSTYP
  2.  Save and Restore DMA Address    - GETDMA, PUTDMA
  3.  Get CP/M Plus Label Data        - CP3LBL
  4.  Display Register Contents       - REGDUMP
  5.  Get Current ZSLIB Version       - ZSVERS
  6.  Data Tables                     - DPERMO, DSTRM3, DSTRMO, DSTRW3, DSTRWK
  7.  Temporary Output Routine        - ZOUT
  8. :
  9. BDOSTYP - Gets BDOS type and version.
  10.  
  11.   ENTER: None
  12.   EXIT:  A = extended BDOS code, zero flag reset (NZ), if extended BDOS,
  13.          A = FFh, zero flag set (Z), if not extended BDOS,
  14.          BDOSVER (global) = extended BDOS indentifier or 0FFh if none,
  15.          CPMVER (global) = CP/M version (22h = CP/M 2.2).
  16.   USES:  AF
  17.  
  18. Usage: BDOSVER and CPMVER are public variable bytes (globals) available 
  19. after this routine is called.  For convenience, A = BDOSVER on exit.  The 
  20. extended BDOS identifiers currently in use are:
  21.            0  = ZRDOS
  22.           "S" = ZSDOS
  23.           "D" = ZDDOS
  24. :
  25. GETDMA - Gets and stores current DMA address.
  26.  
  27.   ENTER: None.
  28.   EXIT:  None.
  29.   USES:  None.
  30.  
  31. Usage: Gets current DMA address under ZSDOS, ZDDOS, and ZRDOS.  The address 
  32. is stored internally for later use by PUTDMA.  CP/M does not return the 
  33. current DMA address, so it the programmer's responsibility to make sure he 
  34. is running under an extended BDOS.
  35.  
  36. PUTDMA - Restores DMA address.
  37.  
  38.   ENTER: None.
  39.   EXIT:  None.
  40.   USES:  None.
  41.  
  42. Usage: Restore DMA address stored internally by GETDMA under ZSDOS, ZDDOS, 
  43. and ZRDOS.  Do not call this routine if GETDMA has not been previously 
  44. called or if not running under an extended BDOS.
  45. :
  46. CP3LBL - Gets CP/M Plus disk label data.
  47.  
  48.   ENTER: B = drive (A=0, B=1, etc.)
  49.   EXIT:  A = label data, zero flag reset (NZ), if okay,
  50.          A = 0, zero flag set (Z), if no label exists,
  51.          A = FFh, zero flag set (Z), if extended error,
  52.          H = error code if A=FFh:
  53.            01 = disk I/O,
  54.            04 = invalid drive.
  55.   USES:  HL (on error only), AF
  56.  
  57. Usage: Label data returned in A is bit-mapped as follows:
  58.            b4 = create date file stamping available,
  59.            b5 = update date file stamping available,
  60.            b6 = access date file stamping available,
  61.            b7 = passwords required on protected files.
  62. :
  63. REGDUMP - Debugging module displays register contents.
  64.  
  65.   ENTER: None.
  66.   EXIT:  None.
  67.   USES:  None.
  68.  
  69. Usage: Displays contents of registers A, HL, BC, DE, IX, and IY on console 
  70. in a single line.  Execution stops until a key is pressed.  Pressing 
  71. control-C (^C) causes an immediate exit via a warm boot.
  72. :
  73. ZSVERS - Returns current ZSLIB version.
  74.  
  75.   ENTER: None.
  76.   EXIT:  HL = ZSLIB version in BCD:
  77.            H = major version,
  78.            L = minor version.
  79.   USES:  HL
  80.  
  81. Usage: For ZSLIB version 3.0, for example, H = 3 and L = 0.  An alpha 
  82. revision level identifier and the revision date are included in a null- 
  83. terminated text string beginning at ZSVERS + 4.
  84. :
  85. These data tables are used internally by some ZSLIB routines.  Check a 
  86. table's source code for the details of its contents.
  87.  
  88. DPERMO - One-byte wide table of days per month (non-leap year).
  89.  
  90. DSTRM3 - Three-byte wide month abbreviations table.
  91.  
  92. DSTRMO - Two-byte wide table pointing to month names.
  93.  
  94. DSTRW3 - Three-byte wide day of week abbreviations table.
  95.  
  96. DSTRWK - One-byte wide table of offsets pointing to day of week names.
  97. :
  98. ZOUT - Switchable character output.
  99.  
  100.   ENTER: A = character to print.
  101.   EXIT:  None.
  102.   USES:  None.
  103.  
  104. Usage: This is a temporary module and should not be used.  It will probably 
  105. not be included in future versions of ZSLIB.  The module compensates for a 
  106. bug in SYSLIB's SOUT routine, which does not preserve the flags.
  107.