home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / utils / dskutl / repair.lbr / XCPM.LZB / XCPM.LIB
Encoding:
Text File  |  1988-04-10  |  896 b   |  29 lines

  1. ; CPM structure equates
  2. ;
  3. ; Disk Header Block
  4. ;
  5.  
  6. dhb_skew    equ    0        ; Skew values
  7. dhb_dirbufp equ    8        ; Directory buffer address
  8. dhb_dpbp    equ    10        ; Disk parameter block address
  9. dhb_chkp    equ    12        ; Check buffer pointer
  10. dhb_allvp   equ    14        ; Allocation vector address
  11. dhb_length  equ    16        ; Length of disk header block
  12. ldirbuf        equ    128        ; Length of directory buffer
  13.  
  14. ;
  15. ; Disk Parameter Block
  16. ;
  17.  
  18. dpb_spt        equ    0        ; Sectors per track
  19. dpb_bs        equ    2        ; Block shift
  20. dpb_bm        equ    3        ; Block mask
  21. dpb_em        equ    4        ; Extent mask
  22. dpb_maxb    equ    5        ; Maximum allocable block - 1
  23. dpb_dire    equ    7        ; Directory entries - 1
  24. dpb_allblk  equ    9        ; Bit map allocated blocks
  25. dpb_chksiz  equ    11        ; Length of check buffer
  26. dpb_tbfdir  equ    13        ; Tracks before directory
  27. dpb_length  equ    15        ; Length of disk parameter block
  28.  
  29.