home *** CD-ROM | disk | FTP | other *** search
- ; CPM structure equates
- ;
- ; Disk Header Block
- ;
-
- dhb_skew equ 0 ; Skew values
- dhb_dirbufp equ 8 ; Directory buffer address
- dhb_dpbp equ 10 ; Disk parameter block address
- dhb_chkp equ 12 ; Check buffer pointer
- dhb_allvp equ 14 ; Allocation vector address
- dhb_length equ 16 ; Length of disk header block
- ldirbuf equ 128 ; Length of directory buffer
-
- ;
- ; Disk Parameter Block
- ;
-
- dpb_spt equ 0 ; Sectors per track
- dpb_bs equ 2 ; Block shift
- dpb_bm equ 3 ; Block mask
- dpb_em equ 4 ; Extent mask
- dpb_maxb equ 5 ; Maximum allocable block - 1
- dpb_dire equ 7 ; Directory entries - 1
- dpb_allblk equ 9 ; Bit map allocated blocks
- dpb_chksiz equ 11 ; Length of check buffer
- dpb_tbfdir equ 13 ; Tracks before directory
- dpb_length equ 15 ; Length of disk parameter block
-