mirror of https://github.com/wwarthen/RomWBW.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
258 lines
7.8 KiB
258 lines
7.8 KiB
;========= Additional Disk Parameter Blocks if MORDPB is True ==========
|
|
; See DPB.LIB for descriptions of Format Type Byte bit assignments.
|
|
;.....
|
|
; Teletek 8" DS/DD - STOCK
|
|
|
|
DEFB 'TTek DSDD','1'+80H ; Id - 10 bytes
|
|
DEFB DSK8+DD+TSBTM+T0S0SD ; Format type byte 0
|
|
DEFB SPEED8+SEC256+ALC2K ; Format type byte 1
|
|
DEFB 6 ; Skew factor
|
|
DEFB 1 ; Starting sector number
|
|
DEFB 26 ; Physical sectors per track
|
|
DEFB 77 ; Physical tracks/side
|
|
|
|
DPB08: DEFW 52 ; Sectors per track
|
|
DEFB 4 ; Block shift factor
|
|
DEFB 15 ; Block mask
|
|
DEFB 0 ; Extent mask
|
|
DEFW 493 ; Disk size-1
|
|
DEFW 127 ; Directory max
|
|
DEFB 0C0H, 0 ; Alloc 0,1
|
|
DEFW 32 ; Check size
|
|
DEFW 2 ; Track offset
|
|
IF NOT CALCSK
|
|
; NOTE: Sectors are Physical Size, NOT 128 Byte Record Size
|
|
; 01 02 03 04 05 06 07 08 ; Logical Sector
|
|
DEFB 01,07,13,19,25,05,11,17 ; Physical sector
|
|
; 09 10 11 12 13 14 15 16 ; Logical Sector
|
|
DEFB 23,03,09,15,21,02,08,14 ; Physical sector
|
|
; 17 18 19 20 21 22 23 24 ; Logical Sector
|
|
DEFB 20,26,06,12,18,24,04,10 ; Physical sector
|
|
; 25 26 ; Logical Sector
|
|
DEFB 16,22 ; Physical sector
|
|
ENDIF
|
|
|
|
;.....
|
|
; Teletek 8" SS/DD
|
|
|
|
DEFB 'TTek SSDD',' '+80H ; Id - 10 bytes
|
|
DEFB DSK8+SS+DD+T0S0SD ; Format type byte 0
|
|
DEFB SPEED8+SEC256+ALC2K ; Format type byte 1
|
|
DEFB 6 ; Skew factor
|
|
DEFB 1 ; Starting sector number
|
|
DEFB 26 ; Physical sectors per track
|
|
DEFB 77 ; Physical tracks/side
|
|
|
|
DPB09: DEFW 52 ; Sectors per track
|
|
DEFB 4 ; Block shift factor
|
|
DEFB 15 ; Block mask
|
|
DEFB 1 ; Extent mask
|
|
DEFW 242 ; Disk size-1
|
|
DEFW 127 ; Directory max
|
|
DEFB 0C0H, 0 ; Alloc 0,1
|
|
DEFW 32 ; Check size
|
|
DEFW 2 ; Track offset
|
|
IF NOT CALCSK
|
|
; NOTE: Sectors are Physical Size, NOT 128 Byte Record Size
|
|
; 01 02 03 04 05 06 07 08 ; Logical Sector
|
|
DEFB 01,07,13,19,25,05,11,17 ; Physical sector
|
|
; 09 10 11 12 13 14 15 16 ; Logical Sector
|
|
DEFB 23,03,09,15,21,02,08,14 ; Physical sector
|
|
; 17 18 19 20 21 22 23 24 ; Logical Sector
|
|
DEFB 20,26,06,12,18,24,04,10 ; Physical sector
|
|
; 25 26 ; Logical Sector
|
|
DEFB 16,22 ; Physical sector
|
|
ENDIF
|
|
|
|
;.....
|
|
; Kaypro 4 format
|
|
|
|
DEFB 'Kaypro 4 ',' '+80H ; Id - 10 bytes
|
|
DEFB DSK5+DD+TSBSC ; Format type byte 0
|
|
DEFB SPEED5+SEC512+ALC2K ; Format type byte 1
|
|
DEFB 0 ; Skew factor
|
|
DEFB 0 ; Starting sector number
|
|
DEFB 10 ; Physical sectors per track
|
|
DEFB 40 ; Physical tracks/side
|
|
|
|
DPB10: DEFW 40 ; Sectors per track
|
|
DEFB 4 ; Block shift factor
|
|
DEFB 15 ; Block mask
|
|
DEFB 1 ; Extent mask
|
|
DEFW 196 ; Disk size-1
|
|
DEFW 63 ; Directory max
|
|
DEFB 0C0H, 0 ; Alloc 0,1
|
|
DEFW 16 ; Check size
|
|
DEFW 1 ; Track offset
|
|
IF NOT CALCSK
|
|
; NOTE: Sectors are Physical Size, NOT 128 Byte Record Size
|
|
; 01 02 03 04 05 06 07 08 ; Logical Sector
|
|
DEFB 00,01,02,03,04,05,06,07 ; Physical sector
|
|
; 09 10 11 12 13 14 15 16 ; Logical Sector
|
|
DEFB 08,09,00,00,00,00,00,00 ; Physical sector
|
|
; 17 18 19 20 21 22 23 24 ; Logical Sector
|
|
DEFB 00,00,00,00,00,00,00,00 ; Physical sector
|
|
; 25 26 ; Logical Sector
|
|
DEFB 00,00 ; Physical sector
|
|
ENDIF
|
|
|
|
;.....
|
|
; Kaypro 2 format
|
|
|
|
DEFB 'Kaypro 2 ',' '+80H ; Id - 10 bytes
|
|
DEFB DSK5+SS+DD ; Format type byte 0
|
|
DEFB SPEED5+SEC512+ALC1K ; Format type byte 1
|
|
DEFB 0 ; Skew factor
|
|
DEFB 0 ; Starting sector number
|
|
DEFB 10 ; Physical sectors per track
|
|
DEFB 40 ; Physical tracks/side
|
|
|
|
DPB11: DEFW 40 ; Sectors per track
|
|
DEFB 3 ; Block shift factor
|
|
DEFB 7 ; Block mask
|
|
DEFB 0 ; Extent mask
|
|
DEFW 194 ; Disk size-1
|
|
DEFW 63 ; Directory max
|
|
DEFB 0F0H, 0 ; Alloc 0,1
|
|
DEFW 16 ; Check size
|
|
DEFW 1 ; Track offset
|
|
IF NOT CALCSK
|
|
; NOTE: Sectors are Physical Size, NOT 128 Byte Record Size
|
|
; 01 02 03 04 05 06 07 08 ; Logical Sector
|
|
DEFB 00,01,02,03,04,05,06,07 ; Physical sector
|
|
; 09 10 11 12 13 14 15 16 ; Logical Sector
|
|
DEFB 08,09,00,00,00,00,00,00 ; Physical sector
|
|
; 17 18 19 20 21 22 23 24 ; Logical Sector
|
|
DEFB 00,00,00,00,00,00,00,00 ; Physical sector
|
|
; 25 26 ; Logical Sector
|
|
DEFB 00,00 ; Physical sector
|
|
ENDIF
|
|
|
|
;.....
|
|
; RESERVED
|
|
|
|
DEFB 'Unused ',' '+80H ; Id - 10 bytes
|
|
DEFB 0 ; Format type byte 0
|
|
DEFB 0 ; Format type byte 1
|
|
DEFB 0 ; Skew factor
|
|
DEFB 0 ; Starting sector number
|
|
DEFB 0 ; Physical sectors per track
|
|
DEFB 40 ; Physical tracks/side
|
|
|
|
DPB12: DEFW 0 ; Sectors per track
|
|
DEFB 0 ; Block shift factor
|
|
DEFB 0 ; Block mask
|
|
DEFB 0 ; Extent mask
|
|
DEFW 0 ; Disk size-1
|
|
DEFW 0 ; Directory max
|
|
DEFB 0, 0 ; Alloc 0,1
|
|
DEFW 0 ; Check size
|
|
DEFW 0 ; Track offset
|
|
IF NOT CALCSK
|
|
; NOTE: Sectors are Physical Size, NOT 128 Byte Record Size
|
|
; 01 02 03 04 05 06 07 08 ; Logical Sector
|
|
DEFB 00,00,00,00,00,00,00,00 ; Physical sector
|
|
; 09 10 11 12 13 14 15 16 ; Logical Sector
|
|
DEFB 00,00,00,00,00,00,00,00 ; Physical sector
|
|
; 17 18 19 20 21 22 23 24 ; Logical Sector
|
|
DEFB 00,00,00,00,00,00,00,00 ; Physical sector
|
|
; 25 26 ; Logical Sector
|
|
DEFB 00,00 ; Physical sector
|
|
ENDIF
|
|
|
|
;.....
|
|
; RESERVED
|
|
|
|
DEFB 'Unused ',' '+80H ; Id - 10 bytes
|
|
DEFB 0 ; Format type byte 0
|
|
DEFB 0 ; Format type byte 1
|
|
DEFB 0 ; Skew factor
|
|
DEFB 0 ; Starting sector number
|
|
DEFB 0 ; Physical sectors per track
|
|
DEFB 40 ; Physical tracks/side
|
|
|
|
DPB13: DEFW 0 ; Sectors per track
|
|
DEFB 0 ; Block shift factor
|
|
DEFB 0 ; Block mask
|
|
DEFB 0 ; Extent mask
|
|
DEFW 0 ; Disk size-1
|
|
DEFW 0 ; Directory max
|
|
DEFB 0, 0 ; Alloc 0,1
|
|
DEFW 0 ; Check size
|
|
DEFW 0 ; Track offset
|
|
IF NOT CALCSK
|
|
; NOTE: Sectors are Physical Size, NOT 128 Byte Record Size
|
|
; 01 02 03 04 05 06 07 08 ; Logical Sector
|
|
DEFB 00,00,00,00,00,00,00,00 ; Physical sector
|
|
; 09 10 11 12 13 14 15 16 ; Logical Sector
|
|
DEFB 00,00,00,00,00,00,00,00 ; Physical sector
|
|
; 17 18 19 20 21 22 23 24 ; Logical Sector
|
|
DEFB 00,00,00,00,00,00,00,00 ; Physical sector
|
|
; 25 26 ; Logical Sector
|
|
DEFB 00,00 ; Physical sector
|
|
ENDIF
|
|
|
|
;.....
|
|
; RESERVED
|
|
|
|
DEFB 'Unused ',' '+80H ; Id - 10 bytes
|
|
DEFB 0 ; Format type byte 0
|
|
DEFB 0 ; Format type byte 1
|
|
DEFB 0 ; Skew factor
|
|
DEFB 0 ; Starting sector number
|
|
DEFB 0 ; Physical sectors per track
|
|
DEFB 40 ; Physical tracks/side
|
|
|
|
DPB14: DEFW 0 ; Sectors per track
|
|
DEFB 0 ; Block shift factor
|
|
DEFB 0 ; Block mask
|
|
DEFB 0 ; Extent mask
|
|
DEFW 0 ; Disk size-1
|
|
DEFW 0 ; Directory max
|
|
DEFB 0, 0 ; Alloc 0,1
|
|
DEFW 0 ; Check size
|
|
DEFW 0 ; Track offset
|
|
IF NOT CALCSK
|
|
; NOTE: Sectors are Physical Size, NOT 128 Byte Record Size
|
|
; 01 02 03 04 05 06 07 08 ; Logical Sector
|
|
DEFB 00,00,00,00,00,00,00,00 ; Physical sector
|
|
; 09 10 11 12 13 14 15 16 ; Logical Sector
|
|
DEFB 00,00,00,00,00,00,00,00 ; Physical sector
|
|
; 17 18 19 20 21 22 23 24 ; Logical Sector
|
|
DEFB 00,00,00,00,00,00,00,00 ; Physical sector
|
|
; 25 26 ; Logical Sector
|
|
DEFB 00,00 ; Physical sector
|
|
ENDIF
|
|
|
|
;.....
|
|
; RESERVED
|
|
|
|
DEFB 'Unused ',' '+80H ; Id - 10 bytes
|
|
DEFB 0 ; Format type byte 0
|
|
DEFB 0 ; Format type byte 1
|
|
DEFB 0 ; Skew factor
|
|
DEFB 0 ; Starting sector number
|
|
DEFB 0 ; Physical sectors per track
|
|
DEFB 40 ; Physical tracks/side
|
|
|
|
DPB15: DEFW 0 ; Sectors per track
|
|
DEFB 0 ; Block shift factor
|
|
DEFB 0 ; Block mask
|
|
DEFB 0 ; Extent mask
|
|
DEFW 0 ; Disk size-1
|
|
DEFW 0 ; Directory max
|
|
DEFB 0, 0 ; Alloc 0,1
|
|
DEFW 0 ; Check size
|
|
DEFW 0 ; Track offset
|
|
IF NOT CALCSK
|
|
; NOTE: Sectors are Physical Size, NOT 128 Byte Record Size
|
|
; 01 02 03 04 05 06 07 08 ; Logical Sector
|
|
DEFB 00,00,00,00,00,00,00,00 ; Physical sector
|
|
; 09 10 11 12 13 14 15 16 ; Logical Sector
|
|
DEFB 00,00,00,00,00,00,00,00 ; Physical sector
|
|
; 17 18 19 20 21 22 23 24 ; Logical Sector
|
|
DEFB 00,00,00,00,00,00,00,00 ; Physical sector
|
|
; 25 26 ; Logical Sector
|
|
DEFB 00,00 ; Physical sector
|
|
ENDIF
|
|
;---------------------- End of DPB2.LIB ------------------------------
|