home *** CD-ROM | disk | FTP | other *** search
-
- ;** DISK PARAMETER TABLE EQUATES
- ;
-
- ; DISK PARAMETER ENTRY DESCRIPTION
-
- ORG 0
- DPEXLT RW 1 ;SECTOR TRANSLATE TABLE ADDRESS
- RW 3
- DPEDIRB RW 1 ;DIRECTORY BUFFER ADDRESS
- DPEDPB RW 1 ;DISK PARAMETER BLOCK ADDRESS
- DPECSV RW 1 ;CHECKSUM VECTOR ADDRESS
- DPEALV RW 1 ;ALLOCATION VECTOR ADDRESS
- DPEHTH RB 8 ;HEATH EXTENSIONS
- DPEL EQU 24 ;LENGTH OF DISK PARAMETER ENTRY
-
- ; HEATH EXTENSIONS
-
- DPEFLAG EQU DPEHTH+0 ;FLAGS
- DPETYPE EQU 11100000B ;BIT 7-5 = DEVICE TYPE
- DPENE EQU 00000000B ; NON-EXISTENT
- DPEZ207 EQU 00100000B ; Z207
- DPEZ217 EQU 01000000B ; Z217
- DPE48RO EQU 00010000B ;BIT 4 -- FOR Z207
- ; 48 TPI MEDIA IN 96 TPI DRIVE (R/O)
- DPE96T EQU 00001000B ;BIT 3 -- 0=48 TPI DRIVE 1=96 TPI DRIVE
- DPEASGN EQU 00001000B ;BIT 3 -- FOR Z217 WINCHESTER DISK
- ; 0=UNASSIGNED A PARTITION
- ; 1=ASSIGNED A PARTITION
- DPET0SD EQU 00000100B ;BIT 2 -- 1=TRACK 0 IS SINGLE DENSITY
- DPEDD EQU 00000010B ;BIT 1 -- 0=SINGLE DENSITY 1=DOUBLE
- DPELSIO EQU 00000010B ;BIT 1 -- Z217 LOGICAL SECTOR I/O
- DPE2S EQU 00000001B ;BIT 0 -- 0=SINGLE SIDED 1=DOUBLE
- DPEPRIM EQU 00000001B ;BIT 0 -- Z217 PRIMARY DPE FOR UNIT
-
- DPEUNIT EQU DPEHTH+1 ;UNIT SELECT VALUE
- DPERPS EQU DPEHTH+2 ;CP/M RECORDS PER PHYSICAL SECTOR
- DPERPAB EQU DPEHTH+3 ;CP/M RECORDS PER ALLOCATION BLOCK
- DPETRK EQU DPEHTH+4 ;TRACK COUNTER
- DPEUNK EQU 10000000B ; TRACK POSITION UNKNOWN
- DPELPB EQU DPEHTH+4 ;Z217 LOWER PARTITION BOUNDARY (LOG SECTOR #)
- DPESEK EQU DPEHTH+5 ;MOTOR SPEED AND SEEK SPEED
- ;BIT 3-0 = SEEK SPEED VALUE
- DPEFS EQU 01000000B ;BIT 6 = FAST STEP FOR Z207
- DPEMO EQU 10000000B ;BIT 7 = MOTOR UP TO SPEED FLAG
- ; 0=1 SEC 1=250 MSEC
- DPEUPB EQU DPEHTH+6 ;Z217 UPPER PARTITION BOUNDARY + 1
- DPEFLG2 EQU DPEHTH+6 ;2ND FLAG BYTE
- DPEHLS EQU 00000100B ;BIT 2 DRIVE HAS HEAD LOAD SELONOID
- DPEIMG EQU 00000010B ;BIT 1 IMAGINARY DRIVE
- DPE96TM EQU 00000001B ;BIT 0 0=48 TPI MEDIA 1=96 TPI MEDIA
- DPELUN EQU DPEHTH+7 ;LAST LOGICAL UNIT MOUNTED
- DPELOG EQU 11110000B ; CP/M LOGICAL DRIVE NAME FOR THIS ENTRY
- DPEREAL EQU 00001111B ; FOR IMAGINARY DRIVE, LOGICAL DRIVE NAME
- ; FOR CORRESPONDING REAL DRIVE
- DPEMNT EQU 00001111B ; FOR REAL DRIVE, LOGICAL DRIVE NAME FOR
- ; CURRENLY MOUNTED DISK
-
- DPEHL EQU 8 ;LENGTH OF HEATH EXTENSION
-
- ; DISK PARAMETER BLOCK
-
- ORG 0
- DPBSPT RW 1 ;SECTORS PER TRACK
- DPBBSH RB 1 ;BLOCK SHIFT FACTOR
- DPBBLM RB 1 ;BLOCK MASK
- DPBEXM RB 1 ;EXTENT MASK
- DPBDSM RW 1 ;TOTAL # OF BLOCKS - 1
- DPBDRM RW 1 ;# OF DIRECTORY ENTRIES - 1
- DPBAL0 RB 1 ;INITIAL AL0 VALUE
- DPBAL1 RB 1 ;INITIAL AL1 VALUE
- DPBCKS RW 1 ;SIZE OF DIRECTORY CHECK VECTOR
- DPBOFF RW 1 ;NUMBER OF SYSTEM TRACKS
- DPBL EQU 15 ;LENGTH OF DISK PARAMETER BLOCK
-